From e08e3df4d77bb4c84ddeb2c6ecc61e0cf1e56286 Mon Sep 17 00:00:00 2001 From: Tech-for-Fun <22529528+Tech-for-Fun@users.noreply.github.com> Date: Fri, 17 Jul 2020 02:55:52 -0700 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 18d9fb9..9d558f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,8 +7,29 @@ on: paths-ignore: - '**.md' + test: + needs: build + runs-on: ubuntu-latest + ... + steps: + - uses: actions/checkout@v2 + - uses: actions/download-artifact@master + with: + name: webpack artifacts + path: public + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, and test + run: | + npm install + npm test + env: + CI: true + + jobs: - build: name: Build @@ -101,4 +122,4 @@ jobs: } shell: pwsh - \ No newline at end of file +