Skip to content

Commit

Permalink
ci: add job dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
oplik0 committed Jun 13, 2022
1 parent a5de647 commit 1ec4449
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
bench:
name: benchmark
runs-on: ubuntu-latest
needs: test
if: "!contains(github.event.head_commit.message, '[skip ci]')"
env:
GH_ACTIONS: true
Expand All @@ -41,15 +42,16 @@ jobs:
run: deno bench --unstable .
release:
name: Release
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
needs: test
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12.17.0
node-version: 14
- name: Setup package.json
run: echo '{"name":"@denorg/scrypt","version":"0.0.0","publishConfig":{"access":"public"},"scripts":{"semantic-release":"semantic-release"},"repository":{"type":"git","url":"https://github.com/denorg/scrypt.git"},"author":"Denorg<hello@den.org.in>","license":"MIT","bugs":{"url":"https://github.com/denorg/scrypt/issues"},"homepage":"https://denorg.github.io/scrypt/","devDependencies":{"semantic-release":"^17.0.4","semantic-release-gitmoji":"^1.3.3"}}' > package.json
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
bench:
name: benchmark
runs-on: ubuntu
needs: test
if: "!contains(github.event.head_commit.message, '[skip ci]')"
env:
GH_ACTIONS: true
Expand Down

0 comments on commit 1ec4449

Please sign in to comment.