diff --git a/.github/workflows/example-node-version.yml b/.github/workflows/example-node-version.yml index b0d989f..a9094b4 100644 --- a/.github/workflows/example-node-version.yml +++ b/.github/workflows/example-node-version.yml @@ -4,7 +4,7 @@ jobs: test: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # pick the Node version to use and install it # https://github.com/actions/setup-node - uses: actions/setup-node@v3 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c213f23..f268ad2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: name: Build and test on ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # caching NPM dependencies # https://github.com/actions/cache/blob/master/examples.md#node---npm diff --git a/README.md b/README.md index c365db1..008711e 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest name: Build and test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bahmutov/npm-install@v1 - run: npm t ``` @@ -60,7 +60,7 @@ jobs: runs-on: ubuntu-latest name: Build and test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bahmutov/npm-install@v1 with: @@ -90,7 +90,7 @@ jobs: runs-on: ubuntu-latest name: Build and test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: bahmutov/npm-install@v1 with: working-directory: | @@ -171,7 +171,7 @@ The first cache will have key `npm-tool-a-...` and the second cache will have ke If you need to use a specific Node version, use the [actions/setup-node](https://github.com/actions/setup-node) before installing the dependencies. ```yml -- uses: actions/checkout@v3 +- uses: actions/checkout@v4 # pick the Node version to use and install it # https://github.com/actions/setup-node - uses: actions/setup-node@v3