Skip to content

Commit ab7004f

Browse files
committed
fix
1 parent fcf16ca commit ab7004f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- uses: bahmutov/npm-install@v1
1413
- uses: actions-rs/toolchain@v1
1514
with:
1615
toolchain: stable
@@ -19,6 +18,16 @@ jobs:
1918
crate: semantic-release-rust
2019
version: latest
2120
use-tool-cache: true
21+
- uses: actions/cache@v2
22+
with:
23+
path: ~/.npm
24+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+
restore-keys: |
26+
${{ runner.os }}-node-
27+
- uses: actions/setup-node@v2-beta
28+
with:
29+
node-version: '12'
30+
- run: npm install --save-dev semantic-release@15
2231
- name: Release
2332
env:
2433
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)