Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Run actions once (just for testing) #248

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
11 changes: 11 additions & 0 deletions .github/workflows/test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ env:
dir: '../'
conf: '../../conf.json.example'
jobs:
check-double-run:
runs-on: ubuntu-latest
steps:
- uses: rlespinasse/github-slug-action@v3.x
- name: Cancel this build
uses: knoxfighter/cancel-multi-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
if: github.event_name == 'pull_request'
test-npm:
needs: [ check-double-run ]
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand All @@ -25,6 +35,7 @@ jobs:
- uses: actions/setup-node@v1
- run: make app/bundle
test-go:
needs: [check-double-run]
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
Expand Down