Skip to content

Commit 0f5a69a

Browse files
committed
build: bump node to the newest version
1 parent 7af9675 commit 0f5a69a

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/node.js.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
1-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2-
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3-
41
name: Node.js CI
52

63
on:
74
push:
8-
branches: ['main']
5+
branches: ["main"]
96
pull_request:
10-
branches: ['main']
7+
branches: ["main"]
118

129
jobs:
1310
build:
1411
runs-on: ubuntu-latest
1512

1613
strategy:
1714
matrix:
18-
node-version: [18.x]
19-
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
15+
node-version: [22.x]
2016

2117
steps:
2218
- uses: actions/checkout@v3
2319
- name: Use Node.js ${{ matrix.node-version }}
2420
uses: actions/setup-node@v3
2521
with:
2622
node-version: ${{ matrix.node-version }}
27-
cache: 'yarn'
23+
cache: "yarn"
2824
- run: yarn

0 commit comments

Comments
 (0)