From fca93ea9143036c4fea8b935d0efccffc122c6f7 Mon Sep 17 00:00:00 2001 From: Tim Lai Date: Mon, 26 Oct 2020 12:02:25 -0700 Subject: [PATCH] ci(GA): add test:artifact job (#6562) --- .github/workflows/nodejs.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index e9f66175..63b142d9 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -30,6 +30,24 @@ jobs: env: 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: if: contains(github.ref, 'master') runs-on: ubuntu-latest