From a10f6260c19de54621edab8de4d578ac7013e6d5 Mon Sep 17 00:00:00 2001 From: Federico Grandi Date: Wed, 3 Apr 2024 11:09:28 +0200 Subject: [PATCH] ci: bump versions --- .github/workflows/labels-sync.yml | 2 +- .github/workflows/preview.yml | 8 +++---- .github/workflows/release.yml | 10 ++++---- .github/workflows/test.yml | 40 +++++++++++++++---------------- 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/labels-sync.yml b/.github/workflows/labels-sync.yml index 4d4a2a1..42e2d95 100644 --- a/.github/workflows/labels-sync.yml +++ b/.github/workflows/labels-sync.yml @@ -12,7 +12,7 @@ jobs: name: Run EndBug/label-sync runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: EndBug/label-sync@v2 with: config-file: '.github/labels.yml' diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 9c9d2b5..5cf08f2 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -24,7 +24,7 @@ concurrency: jobs: dev: name: Development - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: PREVIEW_REPO: PoliNetworkOrg/preview PAGES_BASE: https://PoliNetworkOrg.github.io/preview @@ -32,17 +32,17 @@ jobs: steps: - name: Checkout branch if: ${{ !startsWith(github.event_name, 'pull_request') }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout PR head if: ${{ startsWith(github.event_name, 'pull_request') && github.event.action != 'closed' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: refs/pull/${{ github.event.pull_request.number }}/merge # Assuming you're using Node.js - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 if: ${{ github.event.action != 'closed' }} # Skipping these steps if the PR has been closed with: node-version: '20' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef81eb7..1d033db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,11 +6,11 @@ on: jobs: prod: name: Deploy production - runs-on: ubuntu-20.04 + 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: 20 cache: npm @@ -21,10 +21,10 @@ jobs: tags: name: Update tags - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: EndBug/latest-tag@v1 with: ref: stable diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 694f7a6..765d415 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,13 +9,13 @@ on: jobs: cache: name: Cache dependencies - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: cache with: path: ./node_modules @@ -27,13 +27,13 @@ jobs: build: name: Build website needs: cache - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: cache with: path: ./node_modules @@ -45,13 +45,13 @@ jobs: lint: name: Run linters needs: cache - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: cache with: path: ./node_modules @@ -63,13 +63,13 @@ jobs: exports: name: Check unused exports needs: cache - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: cache with: path: ./node_modules @@ -81,13 +81,13 @@ jobs: database: name: Build database needs: cache - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: 20 - - uses: actions/cache@v2 + - uses: actions/cache@v4 id: cache with: path: ./node_modules