From a6e230d5ebf63e4a3a8a81d68ba1623ce4eb39f8 Mon Sep 17 00:00:00 2001 From: yandeu <20306025+yandeu@users.noreply.github.com> Date: Sun, 10 Mar 2024 21:55:35 +0100 Subject: [PATCH] Update workflows --- .github/workflows/browser.yml | 6 +++--- .github/workflows/codeql.yml | 2 +- .github/workflows/deno.yml | 6 +++--- .github/workflows/eslint.yml | 6 +++--- .github/workflows/nodejs.yml | 6 +++--- .github/workflows/prettier.yml | 6 +++--- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/browser.yml b/.github/workflows/browser.yml index ed4b5d3..1d5c0c1 100644 --- a/.github/workflows/browser.yml +++ b/.github/workflows/browser.yml @@ -25,12 +25,12 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: NodeJS - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' - name: Install run: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3aeba4e..a3f793e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v1 diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index b2c957d..72316fa 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -24,17 +24,17 @@ jobs: strategy: matrix: deno: ['v1.x'] - node-version: ['18.x'] + node-version: ['20.x'] name: Deno ${{ matrix.deno }} steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # install node to run denoify.land - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index f172ed7..6ce9729 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -10,10 +10,10 @@ jobs: name: Linting steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' - run: rm -f package.json - run: rm -f package-lock.json - run: npm init -y diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7cf269c..8891a48 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -23,16 +23,16 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [18.x, 20.x, 21.x] name: Node ${{ matrix.node-version }} steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index d9711f1..1d30908 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -10,10 +10,10 @@ jobs: name: Format steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: '20' - run: rm -f package.json - run: rm -f package-lock.json - run: npm init -y