diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index adbfe15..507cb81 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -27,14 +27,16 @@ jobs: node-version: "lts/*" cache: "npm" - - name: npm install, lint, build, and test + - name: npm install, lint, and test + run: | + npm run test --if-present + npm run lint --if-present + + - name: npm build env: NODE_ENV: production run: | - npm ci npm run build --if-present - npm run lint --if-present - npm run test --if-present - name: Upload artifact uses: actions/upload-pages-artifact@v1