File tree Expand file tree Collapse file tree 3 files changed +27
-21
lines changed Expand file tree Collapse file tree 3 files changed +27
-21
lines changed Original file line number Diff line number Diff line change 1
- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
-
4
1
name : release-templates
5
2
6
3
on :
7
4
push :
8
5
tags :
9
- - ' v*.*.*'
6
+ - " v*.*.*"
10
7
jobs :
11
8
build :
12
9
runs-on : ubuntu-latest
17
14
run : echo ${{ github.sha }} > Release.txt
18
15
- name : Pack templates
19
16
run : |
20
- for f in $(find "." -mindepth 1 -maxdepth 1 -type d ); do
21
- zip -r "$f" "$f"
17
+ for f in $(find "." -mindepth 1 -maxdepth 1 -type d); do
18
+ zip -r "$f".zip "$f"
22
19
done
23
20
- name : Release
24
21
uses : softprops/action-gh-release@v1
29
26
Release.txt
30
27
env :
31
28
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
-
33
- publish-gpr :
34
- needs : build
35
- runs-on : ubuntu-latest
36
- steps :
37
- - uses : actions/checkout@v2
38
- - uses : actions/setup-node@v1
39
- with :
40
- node-version : 12
41
- registry-url : https://npm.pkg.github.com/
42
- - run : npm ci
43
- - run : npm publish
44
- env :
45
- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1
1
.DS_Store
2
- test /
2
+ test /
Original file line number Diff line number Diff line change
1
+ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2
+
3
+ # dependencies
4
+ /node_modules
5
+ /.pnp
6
+ .pnp.js
7
+
8
+ # testing
9
+ /coverage
10
+
11
+ # production
12
+ /build
13
+
14
+ # misc
15
+ .DS_Store
16
+ .env.local
17
+ .env.development.local
18
+ .env.test.local
19
+ .env.production.local
20
+
21
+ npm-debug.log *
22
+ yarn-debug.log *
23
+ yarn-error.log *
You can’t perform that action at this time.
0 commit comments