Skip to content

Commit 54bff9f

Browse files
authored
Merge pull request #394 from adobe/fix/fix-release-node
chore: set release node to 17
2 parents 8f7b252 + 6c584dc commit 54bff9f

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.github/workflows/npm-publish.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ jobs:
88
name: npm-publish
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: Checkout repository
12-
uses: actions/checkout@master
13-
- name: Set up Node.js
14-
uses: actions/setup-node@master
15-
with:
16-
node-version: 10.0.0
17-
- name: Publish if version has been updated
18-
uses: mkiki/npm-publish-action@c4315ef5790b7bcec2cbb75b34e37681a409d78d
19-
with: # All of theses inputs are optional
20-
tag_name: "%s"
21-
tag_message: "Release %s"
22-
commit_pattern: "^Release (\\S+)"
23-
workspace: "."
24-
env: # More info about the environment variables in the README
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
26-
NPM_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
27-
NPM_AUTH: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
11+
- name: Checkout repository
12+
uses: actions/checkout@master
13+
- name: Set up Node.js
14+
uses: actions/setup-node@master
15+
with:
16+
node-version: 17
17+
- name: Publish if version has been updated
18+
uses: mkiki/npm-publish-action@c4315ef5790b7bcec2cbb75b34e37681a409d78d
19+
with: # All of theses inputs are optional
20+
tag_name: "%s"
21+
tag_message: "Release %s"
22+
commit_pattern: "^Release (\\S+)"
23+
workspace: "."
24+
env: # More info about the environment variables in the README
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
26+
NPM_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret
27+
NPM_AUTH: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} # This will be shared with your repo as an org secret

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 12
19+
node-version: 17
2020
- name: Install dependencies
2121
run: npm install
2222
- name: Test

0 commit comments

Comments
 (0)