Add GitHub Actions
This commit is contained in:
19
.github/workflows/integrate.yml
vendored
Normal file
19
.github/workflows/integrate.yml
vendored
Normal 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
|
Reference in New Issue
Block a user