Skip to content

Commit

Permalink
Fix CI build failure by upgrading to Node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
erikpukinskis committed Dec 11, 2024
1 parent 386f1d2 commit 6fd1e30
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Set up Yarn cache
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn check:format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Set up Yarn cache
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn check:lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Set up Yarn cache
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Set up Yarn cache
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn build
Expand Down
2 changes: 1 addition & 1 deletion lib/presets/githubActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const getGithubWorkflow = ({
name: "Set up Yarn cache",
uses: "actions/setup-node@v3",
with: {
"node-version": "16",
"node-version": "18",
"cache": "yarn",
},
},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"gen": "npx ts-node -r tsconfig-paths/register --transpile-only ./lib/index.ts",
"start:bin": "ts-node -r tsconfig-paths/register --transpile-only ./lib/index.ts",
"test": "vitest run --config vite.test.config.js",
"test:dist": "yarn build && yarn test -t @dist",
"watch:build": "chokidar \"lib/**/*\" -c \"yarn build\"",
"watch:test": "vitest watch --config vite.test.config.js"
}
Expand Down

0 comments on commit 6fd1e30

Please sign in to comment.