diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1738fb32..4054a7b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,7 +81,7 @@ jobs: with: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run test:browser -- -t webworker --cov --bail + - run: npm run test:browser -- -t webworker --bail - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 with: directory: ./.nyc_output @@ -97,6 +97,10 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npm run test:browser -- -t browser --bail -- --browser firefox + - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 + with: + directory: ./.nyc_output + flags: firefox test-firefox-webworker: needs: build @@ -108,6 +112,10 @@ jobs: node-version: lts/* - uses: ipfs/aegir/actions/cache-node-modules@master - run: npm run test:browser -- -t webworker --bail -- --browser firefox + - uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0 + with: + directory: ./.nyc_output + flags: firefox-webworker test-ts: needs: build @@ -133,7 +141,7 @@ jobs: release: runs-on: ubuntu-latest - needs: [test-node, test-chrome, test-firefox, test-ts, test-interop] + needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-ts, test-interop] if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - uses: GoogleCloudPlatform/release-please-action@v2 @@ -149,10 +157,12 @@ jobs: registry-url: 'https://registry.npmjs.org' - uses: ipfs/aegir/actions/cache-node-modules@master - if: ${{ steps.release.outputs.release_created }} + name: Run release version run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - if: ${{ !steps.release.outputs.release_created }} + name: Run release rc run: | npm version `node -p -e "require('./package.json').version"`-`git rev-parse --short HEAD` --no-git-tag-version npm publish --tag next