Skip to content

Commit

Permalink
Switch to NodeJS 22 for build
Browse files Browse the repository at this point in the history
We build and publish our package from within GitHub actions. We now use
the latest NodeJS version in our build environment.
  • Loading branch information
stschulte committed Aug 14, 2024
1 parent 41b6e8c commit 56ec567
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "version=${metadata_version}" >> $GITHUB_OUTPUT
- name: Setup Node 20
- name: Setup Node 22
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node 20
- name: Setup Node 22
uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"

- name: Install Dependencies
run: npm ci
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Build package under Node 22 environment
- Bump `@vitest/expect` dependency from `^2.0.1` to `^2.0.5`

## [4.0.0] - 2024-07-09

### Changed
Expand Down Expand Up @@ -35,7 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixes

- Added `dist-types` to the rpm package again
- Added `dist-types` to the npm package again

## [2.1.0] - 2024-05-09

Expand Down

0 comments on commit 56ec567

Please sign in to comment.