Skip to content

Commit

Permalink
Merge pull request #1003 from JamieMagee/github-actions
Browse files Browse the repository at this point in the history
Add GitHub Actions workflow
  • Loading branch information
jeffwilcox authored Nov 6, 2023
2 parents aed9b0d + 5072143 commit e8f4cb8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on:
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
with:
node-version: 18
cache: 'npm'

- name: Install dependencies
run: npm install

- name: Run tests
run: npm test

0 comments on commit e8f4cb8

Please sign in to comment.