File tree Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Expand file tree Collapse file tree 1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change 1- name : build and test
1+ name : build and deploy
22
33on : [push]
44
55jobs :
6- compliance :
6+ build :
77 runs-on : ubuntu-latest
8-
8+ permissions :
9+ contents : read
10+ id-token : write
911 steps :
10- - name : Checkout code
11- uses : actions/checkout@v4
12-
13- - name : Advance Security Policy as Code
14- uses : advanced-security/policy-as-code@v2.7.2
12+ - uses : actions/checkout@v4
13+ - uses : actions/setup-node@v4
1514 with :
16- policy : it-at-m/policy-as-code
17- policy-path : default.yaml
18- token : ${{ secrets.GITHUB_TOKEN }}
19- argvs : " --disable-dependabot --disable-secret-scanning --disable-code-scanning --display"
15+ node-version : " 20"
16+ cache : " npm"
17+ registry-url : " https://registry.npmjs.org"
18+ - run : npm ci # install dependencies
19+ - run : npm run build # or any other step to build your package
20+ - run : npm publish # publish
21+ env :
22+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} # in der GitHub it-at-m Orga zentral hinterlegter Token
23+
You can’t perform that action at this time.
0 commit comments