File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ permissions:
11
11
jobs :
12
12
lint :
13
13
runs-on : ubuntu-latest
14
+ continue-on-error : true
14
15
steps :
15
16
- uses : actions/checkout@v4
16
17
- uses : actions/setup-node@v4
48
49
with :
49
50
name : build
50
51
path : dist/netzgrafik-frontend/
52
+
53
+ publish :
54
+ runs-on : ubuntu-latest
55
+ needs : build
56
+ permissions :
57
+ contents : read
58
+ id-token : write
59
+ steps :
60
+ - uses : actions/checkout@v4
61
+ - name : Download build artifacts
62
+ uses : actions/download-artifact@v4
63
+ with :
64
+ name : build
65
+ path : dist/netzgrafik-frontend/
66
+ - uses : actions/setup-node@v4
67
+ with :
68
+ registry-url : ' https://registry.npmjs.org'
69
+ - run : npm version --no-git-tag-version "0.0.0+$GITHUB_SHA"
70
+ - run : npm pkg delete dependencies optionalDependencies devDependencies
71
+ - run : npm publish --provenance --access public --tag snapshot
72
+ env :
73
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments