File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
website :
9
- runs-on : ubuntu-20.04
9
+ runs-on : ubuntu-latest
10
+ permissions :
11
+ contents : write
12
+ id-token : write
10
13
steps :
11
14
- uses : actions/checkout@v2
12
15
- uses : actions/setup-node@v2
13
16
with :
14
- node-version : 14
17
+ node-version : 18
18
+ registry-url : ' https://registry.npmjs.org'
15
19
16
20
- run : mkdir -p build
17
21
- run : npm i markdown-to-html-cli -g
21
25
uses : peaceiris/actions-gh-pages@v3
22
26
with :
23
27
github_token : ${{ secrets.GITHUB_TOKEN }}
24
- publish_dir : ./build
28
+ publish_dir : ./build
29
+
30
+ - run : npm publish --access public --provenance
31
+ name : 📦 loading-cli publish to NPM
32
+ working-directory : core
33
+ continue-on-error : true
34
+ env :
35
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
36
+
You can’t perform that action at this time.
0 commit comments