Skip to content

Commit

Permalink
Add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Aug 18, 2023
1 parent 104d4d8 commit 5e7f295
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

This comment has been minimized.

Copy link
@qtomlinson

qtomlinson Nov 8, 2023

Collaborator

@JamieMagee is it worthwhile to make this consistent with vmImage: 'ubuntu-20.04' in azure-pipelines.yml?

This comment has been minimized.

Copy link
@JamieMagee

JamieMagee Nov 8, 2023

Author Contributor

Unless there's some breaking change between Ubuntu 20.04 and 22.04, I don't think so. Maybe pinning to ubuntu-22.04?

This comment has been minimized.

Copy link
@qtomlinson

qtomlinson Nov 8, 2023

Collaborator

sounds good.

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 5e7f295

Please sign in to comment.