bump: version #54
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
concurrency: | |
# Cancel previous runs that are not completed yet | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate: | |
runs-on: ubuntu-20.04 | |
name: Validate | |
steps: | |
- name: Checkout afj-polygon-w3c-module | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Linting | |
run: yarn lint | |
- name: Prettier | |
run: yarn check-format | |
- name: Check Types | |
run: yarn check-types | |
- name: Compile | |
run: yarn build | |
integration-test: | |
runs-on: ubuntu-20.04 | |
name: Integration Tests | |
steps: | |
- name: Checkout afj-polygon-w3c-module | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run tests | |
run: yarn test |