From bcf1c0be752d3f3b1a98f46c95b7fede86aa6bcb Mon Sep 17 00:00:00 2001 From: xavier2k6 <42386382+xavier2k6@users.noreply.github.com> Date: Sun, 4 Feb 2024 16:19:55 +0000 Subject: [PATCH] CI: Update multiple `actions` & make further use of `nodejs lts` version (#1216) --- .github/workflows/flags.yml | 2 +- .github/workflows/format.yml | 4 ++-- .github/workflows/npm-publish.yml | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/flags.yml b/.github/workflows/flags.yml index 40811e1e..5dc9822b 100644 --- a/.github/workflows/flags.yml +++ b/.github/workflows/flags.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.x" architecture: "x64" diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 80a162ed..37017132 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -6,9 +6,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Node.js LTS - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "lts/*" - name: Install and test diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 730bb643..0e462df5 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -11,10 +11,10 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: "lts/*" - run: yarn - run: yarn test @@ -22,10 +22,10 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: "lts/*" registry-url: https://registry.npmjs.org/ - run: yarn - run: npm publish