diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edd6178..4857cb3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,25 +4,12 @@ on: branches: - master - next + jobs: release: name: Release runs-on: ubuntu-18.04 steps: - - name: Wait on tests - uses: lewagon/wait-on-check-action@v0.1 - with: - ref: master # can be commit SHA or tag too - check-name: tests # name of the existing check - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 20 # seconds - - name: Wait on lint - uses: lewagon/wait-on-check-action@v0.1 - with: - ref: master # can be commit SHA or tag too - check-name: lint # name of the existing check - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 20 # seconds - name: Checkout uses: actions/checkout@v2 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 73056ac..1fd28bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,12 +18,16 @@ jobs: name: tests runs-on: ubuntu-latest + strategy: + matrix: + node-version: [10.x, 12.x, 14.x] + steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: - node-version: 12 + node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run build --if-present - run: npm test