Skip to content

Build and test

Build and test #399

Workflow file for this run

name: Build and test
on:
workflow_dispatch:
push:
paths:
- '**.js'
- 'package.json'
pull_request:
paths:
- '**.js'
- 'package.json'
jobs:
test:
if: |
!contains(toJSON(github.event.commits.*.message), '[skip-ci]') &&
!startsWith(github.ref, 'refs/tags')
name: Generate build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
- run: yarn install
- run: yarn test
- run: yarn build && yarn run test-dist