Skip to content

Commit

Permalink
fix(actions): revert back
Browse files Browse the repository at this point in the history
need to figure out how to wait for other actions
  • Loading branch information
thatkookooguy committed Nov 11, 2020
1 parent 4f202b5 commit b8a37a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8a37a8

Please sign in to comment.