File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change 19
19
node :
20
20
- lts/dubnium
21
21
- node
22
- release :
23
- if : startsWith(github.ref, 'refs/tags/')
24
- name : release
25
- runs-on : ubuntu-latest
26
- steps :
27
- - uses : actions/checkout@v2
28
- - uses : dcodeIO/setup-node-nvm@master
29
- with :
30
- node-version : node
31
- - run : npm install
32
- - run : npm run build
33
- - id : release
34
- uses : actions/create-release@v1
35
- env :
36
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
37
- with :
38
- tag_name : ${{github.ref}}
39
- - uses : actions/upload-release-asset@v1
40
- env :
41
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
42
- with :
43
- upload_url : ${{steps.release.outputs.upload_url}}
44
- asset_path : hast-util-raw.js
45
- asset_name : hast-util-raw.js
46
- asset_content_type : application/javascript
47
- - uses : actions/upload-release-asset@v1
48
- env :
49
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
50
- with :
51
- upload_url : ${{steps.release.outputs.upload_url}}
52
- asset_path : hast-util-raw.min.js
53
- asset_name : hast-util-raw.min.js
54
- asset_content_type : application/javascript
You can’t perform that action at this time.
0 commit comments