Skip to content

Commit

Permalink
Add build job to GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlin committed Nov 17, 2021
1 parent 220e012 commit 09f9d09
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ on:
pull_request:
name: ci
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm ci
- run: npm run build
unit-test:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 09f9d09

Please sign in to comment.