From 0110151df4f5c1c4f510718454e86e5054a9be6b Mon Sep 17 00:00:00 2001 From: Dusty Greif Date: Mon, 14 Oct 2024 17:07:54 +0000 Subject: [PATCH 1/2] Use node 22 for actions --- .github/workflows/nodejs.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index a14b3b5..5f53d7b 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -6,11 +6,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm - run: npm install - run: npm run build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 970a2ec..4ec5765 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,10 +12,10 @@ jobs: publish-npm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 registry-url: https://registry.npmjs.org/ cache: npm - run: npm ci From ce2c3f796eef921c665bb647d2c9c891441fe8fd Mon Sep 17 00:00:00 2001 From: Dusty Greif Date: Mon, 14 Oct 2024 17:09:26 +0000 Subject: [PATCH 2/2] Update assert syntax --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index ce415d7..e4487ce 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,4 +1,4 @@ -import pkg from './package.json' assert {type: 'json'} +import pkg from './package.json' with {type: 'json'} export default { input: 'dist/index.js',