Skip to content

Commit

Permalink
Add basic workflow for PR testing before merge (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbarth authored Jul 14, 2023
1 parent fdc1183 commit 346d5ff
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Test Status
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
test:
env:
CI: true

strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/-1, lts/*]
experimental: [false]
include:
- os: ubuntu-latest
node-version: latest
experimental: true
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm run build
- run: npm update
- run: npm ci
- run: npm test
- run: npm run build

0 comments on commit 346d5ff

Please sign in to comment.