ci(GA): add test:artifact job (#6562)
This commit is contained in:
18
.github/workflows/nodejs.yml
vendored
18
.github/workflows/nodejs.yml
vendored
@@ -30,6 +30,24 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|
||||||
|
artifact-bundle:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [10.x, 12.x, 14.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
- name: Build and Run all artifact tests
|
||||||
|
run: npm run test:artifact
|
||||||
|
|
||||||
release:
|
release:
|
||||||
if: contains(github.ref, 'master')
|
if: contains(github.ref, 'master')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user