Skip to content

Commit f795fbc

Browse files
author
DreamyTZK
committedJul 11, 2022
🐳 chore: 更改触发分支
1 parent 8c070d8 commit f795fbc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed
 

‎.github/workflows/main.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Node.js Package
1+
name: NPM Publish
22

33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
99
publish-npm:
@@ -12,13 +12,11 @@ jobs:
1212
matrix:
1313
node-version: [16.x]
1414
steps:
15-
# from: https://github.com/actions/checkout
1615
- name: 1. 检查master分支
17-
uses: actions/checkout@master
16+
uses: actions/checkout
1817

19-
# from: https://github.com/actions/setup-node
2018
- name: 2. 设置Node.js
21-
uses: actions/setup-node@master
19+
uses: actions/setup-node
2220
with:
2321
node-version: ${{ matrix.node-version }}
2422

0 commit comments

Comments
 (0)
Please sign in to comment.