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 +