Skip to content

Commit

Permalink
Added build and test github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
bikk-uk committed Jun 12, 2021
1 parent b1387ad commit 9a79d7b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and Test

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn release
- run: yarn test-coverage

0 comments on commit 9a79d7b

Please sign in to comment.