File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
9
9
contents : read
10
10
11
11
jobs :
12
- build :
12
+ build-and-publish :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Harden Runner
23
23
with :
24
24
node-version : ' 22.x'
25
25
registry-url : ' https://registry.npmjs.org'
26
- - name : publish sample package
27
- run : npm install --include peer && npm publish --access=public
26
+
27
+ - name : Install dependencies
28
+ working-directory : plugins/git-proxy-plugin-samples
29
+ run : npm ci
30
+
31
+ - name : Build TypeScript
32
+ working-directory : plugins/git-proxy-plugin-samples
33
+ run : npm run build
34
+
35
+ - name : Install peers and publish
28
36
working-directory : plugins/git-proxy-plugin-samples
37
+ run : |
38
+ npm install --include=peer
39
+ npm publish --access=public
29
40
env :
30
41
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments