File tree Expand file tree Collapse file tree 5 files changed +287
-283
lines changed
projects/ngx-material-entity Expand file tree Collapse file tree 5 files changed +287
-283
lines changed Original file line number Diff line number Diff line change 66 branches :
77 - release
88
9+ permissions :
10+ id-token : write # Required for OIDC
11+ contents : read
12+
913jobs :
1014 build :
1115 if : github.event.pull_request.merged
1216 runs-on : ubuntu-latest
1317 steps :
1418 - uses : actions/checkout@v4
1519 with :
16- # The branch, tag or SHA to checkout. When checking out the repository that
17- # triggered a workflow, this defaults to the reference or SHA for that event.
18- # Otherwise, defaults to `master`.
1920 ref : " dev"
20- - name : npm install
21- run : |
22- cd $GITHUB_WORKSPACE
23- npm i
24- - name : build package
25- run : |
26- cd $GITHUB_WORKSPACE
27- npm run build:prod
28- - name : publish to npm
29- uses : JS-DevTools/npm-publish@v1
21+ - uses : actions/setup-node@v4
3022 with :
31- token : ${{ secrets.NPM_TOKEN }}
32- package : ./dist/ngx-material-entity/package.json
23+ node-version : ' 20'
24+ registry-url : ' https://registry.npmjs.org'
25+ # Ensure npm 11.5.1 or later is installed
26+ - run : npm install -g npm@latest
27+ - run : npm i
28+ - run : npm run build:prod
29+ - run : |
30+ cd dist/ngx-material-entity
31+ npm publish
You can’t perform that action at this time.
0 commit comments