From da00584f7ad3df5629b664cc714cc8afbb05e0a7 Mon Sep 17 00:00:00 2001 From: Brian White Date: Fri, 3 May 2024 00:05:35 -0400 Subject: [PATCH] ci: update workflows --- .github/workflows/ci.yml | 16 ++++++++++------ .github/workflows/lint.yml | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 666455c..8b1cb9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,11 @@ jobs: matrix: node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Check Node.js version @@ -33,13 +33,17 @@ jobs: matrix: node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + - name: Install Python 3.10 + uses: actions/setup-python@v5 + with: + python-version: '3.10' - name: Check Node.js version run: node -pe process.versions - name: Install module @@ -53,11 +57,11 @@ jobs: matrix: node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - name: Check Node.js version diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 63af4ea..108531a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,11 +12,11 @@ jobs: lint-js: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Use Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: Check Node.js version