Skip to content

Commit 7ada4fc

Browse files
authored
Merge pull request #307 from Service-Soft/dev
Release 20.0.4
2 parents 7db6131 + 5c6e392 commit 7ada4fc

File tree

5 files changed

+287
-283
lines changed

5 files changed

+287
-283
lines changed

.github/workflows/deploy.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,26 @@ on:
66
branches:
77
- release
88

9+
permissions:
10+
id-token: write # Required for OIDC
11+
contents: read
12+
913
jobs:
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

0 commit comments

Comments
 (0)