Skip to content

Commit cdd3f75

Browse files
committed
chore: github actions update
1 parent c9553bc commit cdd3f75

File tree

3 files changed

+31
-30
lines changed

3 files changed

+31
-30
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: CI
22
on:
3-
push:
4-
branches:
5-
- main
3+
push:
4+
branches:
5+
- main
66
jobs:
7-
release:
8-
name: Release
9-
if: github.ref == 'refs/heads/main'
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
14-
with:
15-
fetch-depth: 0
7+
release:
8+
name: Release
9+
if: github.ref == 'refs/heads/main'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
1616

17-
- name: Setup Node.js
18-
uses: actions/setup-node@v2
19-
with:
20-
node-version: 16
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
2121

22-
- name: Install
23-
run: npm install
22+
- name: Install
23+
run: npm install
2424

25-
- name: Release
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.PAT_SEMANTIC_RELEASE }}
28-
run: npx semantic-release
25+
- name: Release
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.PAT_SEMANTIC_RELEASE }}
28+
run: npx semantic-release

package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"recognizeSelfClosing": true
1414
},
1515
"dependencies": {
16-
"semver": "^7.3.4",
16+
"semver": "^7.7.1",
1717
"vue": "^2.6.11",
1818
"vue-hot-reload-api": "^2.3.4"
1919
},

0 commit comments

Comments
 (0)