Skip to content

fix: testing deploy #24

fix: testing deploy

fix: testing deploy #24

Workflow file for this run

name: Check
on:
pull_request:
branches: [main]
push:
# This should disable running the workflow on tags, according to the
# on.<push|pull_request>.<branches|tags> GitHub Actions docs.
# branches: ['*']
branches: [main]
paths-ignore:
- 'README.md'
- 'docs'
jobs:
cog_check:
name: check conventional commit compliance
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Conventional commits check
uses: cocogitto/[email protected]
with:
check-latest-tag-only: true
# linter:
# name: Lint Code Base
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Code
# uses: actions/checkout@v3
# with:
# # Full git history is needed to get a proper list of changed files within `super-linter`
# fetch-depth: 0
# - name: Lint Code Base
# uses: github/super-linter@v5
# env:
# VALIDATE_ALL_CODEBASE: false
# IGNORE_GENERATED_FILES: true
# # FILTER_REGEX_EXCLUDE: CHANGELOG.md
# DEFAULT_BRANCH: main
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test:
name: 'Unit tests'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'pnpm'
- run: pnpm install
- run: pnpm test:coverage