From f6ff1ee5f5dd06dd22d5e28b69d8f79974324193 Mon Sep 17 00:00:00 2001 From: vmalnathnambiar Date: Fri, 12 Apr 2024 13:29:05 +0800 Subject: [PATCH] build: update checkout actions --- .github/workflows/build-publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index c73f876..2910f49 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -15,12 +15,12 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [20.x] + node-version: 'lts/*' # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm ci @@ -40,9 +40,9 @@ jobs: if: ${{ github.ref == 'refs/heads/main' }} needs: [build] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js LTS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 'lts/*' - run: npm ci