diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 629a72d..5fd9be8 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, windows-latest] - node-version: [18.x] + node-version: [20.x] runs-on: ${{ matrix.platform }} @@ -24,13 +24,13 @@ jobs: source_any_changed: ${{ steps.changed-files.outputs.any_changed }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.4 with: fetch-depth: 0 - name: Check changed files id: changed-files - uses: tj-actions/changed-files@v41.0.0 + uses: tj-actions/changed-files@v44.4.0 with: files: | src/** @@ -39,7 +39,7 @@ jobs: package-lock.json - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.2 with: node-version: ${{ matrix.node-version }} cache: "npm" @@ -72,13 +72,13 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.2 with: node-version: ${{ matrix.node-version }} registry-url: "https://registry.npmjs.org" @@ -90,7 +90,7 @@ jobs: - name: Check previous dev package id: check-prev - uses: actions/github-script@v6 + uses: actions/github-script@v7.0.1 with: script: | const { execSync } = require("child_process");