Update CI
This commit is contained in:
18
.github/workflows/integrate.yml
vendored
18
.github/workflows/integrate.yml
vendored
@ -8,12 +8,20 @@ jobs:
|
|||||||
test_pull_request:
|
test_pull_request:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
- run: npm ci
|
|
||||||
- run: cd functions && npm ci
|
- name: Install dependencies
|
||||||
- run: npm run test
|
- run: |
|
||||||
- run: cd ..
|
npm ci
|
||||||
- run: npm run build
|
cd functions && npm ci
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: npm run test
|
||||||
|
working-directory: ./functions
|
||||||
|
|
||||||
|
- name: Build environment
|
||||||
|
run: npm run build
|
Reference in New Issue
Block a user