Skip to content

Commit d145c43

Browse files
committed
deprecated node action
1 parent 4622249 commit d145c43

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ jobs:
77
build:
88
uses: ./.github/workflows/build.yml
99
with:
10-
node-version: 18
10+
node-version: 22

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
23-
- uses: actions/download-artifact@v3
23+
- uses: actions/download-artifact@v4
2424
with:
2525
name: ngx-kjua
26-
path: artifact/ngx-kjua/
26+
path: dist/ngx-kjua/
2727
- uses: actions/setup-node@v4
2828
with:
2929
node-version: ${{ inputs.node-version }}
3030
registry-url: ${{ inputs.registry-url }}
3131
- run: npm ci --no-optional --force
3232
- run: npm publish --access public ${{ inputs.release-tag }}
33-
working-directory: artifact/ngx-kjua
33+
working-directory: dist/ngx-kjua/
3434
env:
3535
NODE_AUTH_TOKEN: ${{ secrets.npm-token }}

.github/workflows/release-package.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
name: Build release
1111
uses: ./.github/workflows/build.yml
1212
with:
13-
node-version: 18
13+
node-version: 22
1414

1515
publish-npm:
1616
needs: build-release
1717
uses: ./.github/workflows/npm-publish.yml
1818
with:
1919
registry-url: https://registry.npmjs.org/
20-
node-version: 18
20+
node-version: 22
2121
secrets:
2222
npm-token: ${{ secrets.NPM_TOKEN }}
2323

@@ -26,6 +26,6 @@ jobs:
2626
uses: ./.github/workflows/npm-publish.yml
2727
with:
2828
registry-url: https://npm.pkg.github.com/
29-
node-version: 18
29+
node-version: 22
3030
secrets:
3131
npm-token: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"private": false,
1616
"repository": {
1717
"type": "git",
18-
"url": "https://github.com/werthdavid/ngx-kjua"
18+
"url": "git+https://github.com/werthdavid/ngx-kjua.git"
1919
},
2020
"authors": [
2121
{

0 commit comments

Comments
 (0)