Skip to content

bump: version

bump: version #54

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