Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
PACKAGE_TGZ: ${{ env.PACKAGE_TGZ }}

- name: Upload tested tarball
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: npm-package
path: ${{ env.PACKAGE_TGZ }}
Expand All @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download tested tarball
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: npm-package

Expand Down
40 changes: 32 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ env:
FORCE_COLOR: 1

jobs:
linuxNode22:
name: '[Linux] Node 22: Lint, Formatting, Unit & packaging tests'
lint:
name: '[Linux] Node 24: Formatting, lint & package smoke test'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -30,14 +30,14 @@ jobs:
uses: actions/cache@v5
with:
path: ~/.npm
key: npm-no-lock-v1-${{ runner.os }}-node22-${{ hashFiles('package.json') }}
key: npm-no-lock-v1-${{ runner.os }}-node24-${{ hashFiles('package.json') }}
restore-keys: |
npm-no-lock-v1-${{ runner.os }}-node22-
npm-no-lock-v1-${{ runner.os }}-node24-

- name: Install Node.js and npm
uses: actions/setup-node@v6
with:
node-version: 22.x
node-version: 24.x
package-manager-cache: false

- name: Install dependencies
Expand All @@ -49,15 +49,39 @@ jobs:
- name: Validate lint rules
run: npm run lint:updated

- name: Unit tests
run: npm test

- name: Verify package contents
run: npm pack --dry-run

- name: Packed install smoke test
run: node ./scripts/ci/pack-smoke.js

linuxNode22:
name: '[Linux] Node 22: Unit tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Restore npm cache
uses: actions/cache@v5
with:
path: ~/.npm
key: npm-no-lock-v1-${{ runner.os }}-node22-${{ hashFiles('package.json') }}
restore-keys: |
npm-no-lock-v1-${{ runner.os }}-node22-

- name: Install Node.js and npm
uses: actions/setup-node@v6
with:
node-version: 22.x
package-manager-cache: false

- name: Install dependencies
run: npm install --package-lock=false

- name: Unit tests
run: npm test

windowsNode22:
name: '[Windows] Node 22: Unit tests'
runs-on: windows-latest
Expand Down