Skip to content

Commit e9a00df

Browse files
committed
fix(semantic-release): worklow error solved by running node version 14
1 parent 0d6a0c8 commit e9a00df

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

.github/workflows/automated.yml

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
name: Automated
22
"on":
3-
push:
4-
branches:
5-
- master
3+
push:
4+
branches:
5+
- master
66
jobs:
7-
about:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout
11-
uses: actions/checkout@v3
12-
- name: setup nodejs
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: 16
16-
- name: Jaid/action-sync-node-meta
17-
uses: jaid/[email protected]
18-
with:
19-
direction: overwrite-github
20-
githubToken: "${{ secrets.GITHUB }}"
21-
release:
22-
runs-on: ubuntu-latest
23-
steps:
24-
- name: Checkout
25-
uses: actions/checkout@v3
26-
- name: setup nodejs
27-
uses: actions/setup-node@v3
28-
with:
29-
node-version: 16
30-
- name: Semantic Release
31-
uses: cycjimmy/semantic-release-action@v3
32-
id: semantic
33-
with:
34-
extra_plugins: |
35-
@semantic-release/changelog
36-
@semantic-release/git
37-
@semantic-release/github
38-
env:
39-
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
40-
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
41-
outputs:
42-
new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
43-
new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
44-
docs:
45-
runs-on: ubuntu-latest
46-
steps:
47-
- name: Checkout
48-
uses: actions/checkout@v3
49-
- name: setup nodejs
50-
uses: actions/setup-node@v3
51-
with:
52-
node-version: 16
7+
about:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
- name: setup nodejs
13+
uses: actions/setup-node@v3
14+
with:
15+
node-version: 16
16+
- name: Jaid/action-sync-node-meta
17+
uses: jaid/[email protected]
18+
with:
19+
direction: overwrite-github
20+
githubToken: "${{ secrets.GITHUB }}"
21+
release:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v3
26+
- name: setup nodejs
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: 14
30+
- name: Semantic Release
31+
uses: cycjimmy/semantic-release-action@v3
32+
id: semantic
33+
with:
34+
extra_plugins: |
35+
@semantic-release/changelog
36+
@semantic-release/git
37+
@semantic-release/github
38+
env:
39+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
40+
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
41+
outputs:
42+
new_release_published: "${{ steps.semantic.outputs.new_release_published }}"
43+
new_release_version: "${{ steps.semantic.outputs.new_release_version }}"
44+
docs:
45+
runs-on: ubuntu-latest
46+
steps:
47+
- name: Checkout
48+
uses: actions/checkout@v3
49+
- name: setup nodejs
50+
uses: actions/setup-node@v3
51+
with:
52+
node-version: 16
5353

54-
- name: update documentation
55-
uses: CoCreate-app/CoCreate-docs@master
54+
- name: update documentation
55+
uses: CoCreate-app/CoCreate-docs@master

0 commit comments

Comments
 (0)