Merge pull request #32 from 0hAodha/cicd

Add GitHub Actions
This commit is contained in:
Conor McNamara
2023-03-07 19:48:56 +00:00
committed by GitHub

19
.github/workflows/integrate.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Continuous Integration
on:
pull_request:
branches: [ master ]
jobs:
test_pull_request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm ci
- run: cd functions && npm ci
- run: npm run test
- run: cd ..
- run: npm run build