From bf13ef68ee2b3ca61910516dbb960bababc3f640 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 23 Jan 2024 17:55:26 -0800 Subject: [PATCH] update pipelines with checkout v4 --- .github/workflows/lint.yml | 6 ++---- .github/workflows/publish.yml | 5 ++--- .github/workflows/test.yml | 4 +--- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 57362e2..36f6c86 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,12 +7,10 @@ on: branches: [ main ] jobs: - build: + lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: lint - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: node-version: 20 - run: npm install diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b5b0d85..fc7283c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,8 +8,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: node-version: 20 - run: npm install @@ -34,7 +33,7 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: 20 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 12f7bd1..4e5cb2a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,7 @@ jobs: node-version: [20.4, 20.x] os: [ubuntu-latest, windows-latest] steps: - - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 with: node-version: ${{ matrix.node-version }} - run: npm install