diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45c18726..fa60aa38 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,9 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - name: Set Node.js 16.x - uses: actions/setup-node@v4 + - uses: actions/setup-node@v4 with: - node-version: 16.x + node-version-file: .node-version - name: "Install" run: | npm install @@ -32,10 +31,9 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - name: Set Node.js 16.x - uses: actions/setup-node@v4 + - uses: actions/setup-node@v4 with: - node-version: 16.x + node-version-file: .node-version - name: "Build action for test" run: | npm install diff --git a/.node-version b/.node-version new file mode 100644 index 00000000..209e3ef4 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +20 diff --git a/README.md b/README.md index 490942ff..79df18d5 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ on: jobs: is_locked: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 id: is_locked steps: - uses: actions/checkout@v4