Updated workflows

This commit is contained in:
Lucas Dower 2022-04-04 19:56:19 +01:00
parent 8c615bf507
commit 601330904a
2 changed files with 13 additions and 4 deletions

11
.github/workflows/build.js.yml vendored Normal file
View File

@ -0,0 +1,11 @@
name: Build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install modules
run: npm ci
- name: Run build
run: npm run build

View File

@ -1,4 +1,4 @@
name: Build
name: Tests
on: push
jobs:
build:
@ -6,8 +6,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install modules
run: npm install
- name: Run build
run: npm run build
run: npm ci
- name: Run tests
run: npm test