Skip to content

Commit

Permalink
chore: Update to node 20 (#52)
Browse files Browse the repository at this point in the history
* chore: cleanup

* chore: Update to node 20

* chore: version bump
  • Loading branch information
jackyef committed May 2, 2024
1 parent 6df28c8 commit 01f5113
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 0 additions & 3 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { getBranchNameFromRef } from '../src/main';
// import * as process from 'process';
// import * as cp from 'child_process';
// import * as path from 'path';

test('get branch name correctly from ref', async () => {
await expect(getBranchNameFromRef('refs/heads/master')).toEqual('master');
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ inputs:
required: false

runs:
using: 'node16'
using: 'node20'
main: 'lib/main.js'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bundlesize-gh-action",
"version": "0.2.1",
"version": "0.3.0",
"private": true,
"description": "bundlesize-gh-action",
"main": "lib/main.js",
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { nodeResolve } from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import typescript from '@rollup/plugin-typescript'; // we use 3.1.1 because of https://github.com/rollup/plugins/issues/287#issuecomment-645100737
// we use 3.1.1 because of https://github.com/rollup/plugins/issues/287#issuecomment-645100737
import typescript from '@rollup/plugin-typescript';
import json from '@rollup/plugin-json';
import builtins from 'builtin-modules';

Expand Down

0 comments on commit 01f5113

Please sign in to comment.