Increase CI parallelization by removing `needs` action blockers
MODIFY
.github/workflows/ci.yml
.github/workflows/ci.yml
@@ -35,7 +35,6 @@ jobs:
generated:
name: Generated files check
runs-on: ubuntu-latest
- needs: [lint]
steps:
- uses: actions/checkout@v2
@@ -47,7 +46,6 @@ jobs:
tests:
name: Tests
- needs: [typescript, lint]
runs-on: ${{ matrix.os }}
strategy:
matrix:

DELETE
.github/workflows/publish.yml
-name: Publish
-on:
- push:
- tags:
- - 'v*'
-
-jobs:
- publish-npm:
- runs-on: ubuntu-latest
- name: Publish
-
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-node@v1
- with:
- node-version: '13.x'
-
- - name: Build release
- run: node scripts/build-release dist
-
- - name: Create tarball
- run: tar -C dist -czvf dist.tar.gz .
-
- - name: Upload tarball
- uses: actions/upload-artifact@v1
- with:
- name: package.tgz
- path: dist.tar.gz
-
- - name: Publish
- run: |
- cd dist
- echo "//registry.npmjs.org/:_authToken=${{ secrets.npm_token }}" > ~/.npmrc
- npm publish

Increase CI parallelization by removing `needs` action blockers (#646)