Skip to content

Commit

Permalink
Update dependencies and also update node to 20 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
fujidaiti authored Apr 25, 2024
1 parent 8b4d62c commit ec12f16
Show file tree
Hide file tree
Showing 9 changed files with 26,391 additions and 7,013 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16.x
- name: Set Node.js 20.x
uses: actions/[email protected]
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.1
20.12.2
8 changes: 4 additions & 4 deletions __tests__/input.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ test('getCriteria', () => {
'min-dependency-points': '0',
'supported-SDKs': 'dart, flutter',
'supported-platforms': 'ios, android, linux, macos, windows, web'
}[name]!)
})[name]!
)
jest.spyOn(core, 'getBooleanInput').mockImplementation(
(name, _) =>
({
'dart3-compatible': false,
'sound-null-safety': false
}[name]!)
})[name]!
)

const expectedResult: Criteria = {
Expand Down Expand Up @@ -90,14 +90,14 @@ test('getCriteria (with default input)', () => {
'min-dependency-points': '',
'supported-SDKs': '',
'supported-platforms': ''
}[name]!)
})[name]!
)
jest.spyOn(core, 'getBooleanInput').mockImplementation(
(name, _) =>
({
'dart3-compatible': true,
'sound-null-safety': true
}[name]!)
})[name]!
)

const expectedResult: Criteria = {
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ inputs:
description: Ensure that all specified platforms are supported

runs:
using: node16
using: node20
main: dist/index.js
Loading

0 comments on commit ec12f16

Please sign in to comment.