Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -29,13 +29,13 @@ jobs:
- run: npm clean-install
- run: npm run prepublishOnly
- name: Upload tarball artifact
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v6
with:
name: bundle
path: ./dist
- run: npm pack
- name: Upload tarball artifact
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v6
with:
name: tarball
path: ./*.tgz
Expand All @@ -51,12 +51,12 @@ jobs:
id-token: write

steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
node-version: 24 # Newer Node.js version for OIDC publishing
registry-url: https://registry.npmjs.org/
- name: Download tarball artifact
uses: actions/download-artifact@v4.2.1
uses: actions/download-artifact@v7
with:
name: tarball
- id: get-version
Expand All @@ -72,4 +72,3 @@ jobs:
- run: npm publish --access public --tag ${{ github.ref_name }} `ls *.tgz`
- name: Generate job summary
run: echo "NPM package has been published to https://npmjs.com/package/${{ steps.get-version.outputs.package-name }}/v/${{ steps.get-version.outputs.version }}." > $GITHUB_STEP_SUMMARY

14 changes: 7 additions & 7 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Publish release on push tag

on:
push:
tags: 'v*'
tags: ['v*']

jobs:
build-and-draft:
Expand All @@ -11,9 +11,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
- name: Use Node.js 18
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: 18
cache: 'npm'
Expand All @@ -28,13 +28,13 @@ jobs:
- run: npm clean-install
- run: npm run prepublishOnly
- name: Upload tarball artifact
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v6
with:
name: bundle
path: ./dist
- run: npm pack
- name: Upload tarball artifact
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v6
with:
name: tarball
path: ./*.tgz
Expand All @@ -54,12 +54,12 @@ jobs:
id-token: write

steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
node-version: 24 # Newer Node.js version for OIDC publishing
registry-url: https://registry.npmjs.org/
- name: Download tarball artifact
uses: actions/download-artifact@v4.2.1
uses: actions/download-artifact@v7
with:
name: tarball
- id: get-version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand All @@ -30,13 +30,13 @@ jobs:
- run: npm pack

- name: Upload tarball artifact
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v6
with:
name: bundle-${{ matrix.node-version }}
path: ./dist

- name: Upload tarball artifact
uses: actions/upload-artifact@v4.6.2
uses: actions/upload-artifact@v6
with:
name: tarball-${{ matrix.node-version }}
path: ./*.tgz
Expand Down