From 5c87f58640413f5b55f569e1c5abbef53e4af3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Demazi=C3=A8re?= Date: Thu, 11 Apr 2024 14:41:51 +0200 Subject: [PATCH] ci: upgrade CI actions and target node version --- .github/workflows/release.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 09cbc3149..306fa05c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,23 +9,23 @@ jobs: install: runs-on: ubuntu-latest steps: - - name: Use Node.js 14C - uses: actions/setup-node@v1 + - name: Use Node.js 18 + uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 18 - run: yarn --frozen-lockfile build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js 14 - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: 14 + node-version: 18 - run: yarn - run: yarn build - name: Upload build - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: build path: build @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout current branch - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get current version id: version uses: notiz-dev/github-action-json-property@release @@ -55,10 +55,10 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download build id: download - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: build path: build @@ -76,4 +76,3 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} tags: ${{steps.version.outputs.prop}} - \ No newline at end of file