We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c070d8 commit f795fbcCopy full SHA for f795fbc
.github/workflows/main.yml
@@ -1,9 +1,9 @@
1
-name: Node.js Package
+name: NPM Publish
2
3
on:
4
push:
5
branches:
6
- - master
+ - main
7
8
jobs:
9
publish-npm:
@@ -12,13 +12,11 @@ jobs:
12
matrix:
13
node-version: [16.x]
14
steps:
15
- # from: https://github.com/actions/checkout
16
- name: 1. 检查master分支
17
- uses: actions/checkout@master
+ uses: actions/checkout
18
19
- # from: https://github.com/actions/setup-node
20
- name: 2. 设置Node.js
21
- uses: actions/setup-node@master
+ uses: actions/setup-node
22
with:
23
node-version: ${{ matrix.node-version }}
24
0 commit comments