upgrade GHA actions to node20 in ci.yml

This commit is contained in:
2024-01-24 22:08:18 +01:00
committed by GitHub
parent 540c665a14
commit 2fe8fb05e7
+4 -4
View File
@@ -11,14 +11,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup Node.js 18.x - name: Setup Node.js 18.x
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 18.x node-version: 18.x
- name: Cache NPM packages - name: Cache NPM packages
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
key: npm-${{ hashFiles('./Kemkas.Web/frontend/yarn.lock') }} key: npm-${{ hashFiles('./Kemkas.Web/frontend/yarn.lock') }}
path: | path: |
@@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3 - uses: docker/setup-buildx-action@v3
- name: Install doctl - name: Install doctl
uses: digitalocean/action-doctl@v2 uses: digitalocean/action-doctl@v2
@@ -75,7 +75,7 @@ jobs:
- docker-build - docker-build
if: ${{ github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged ) }} if: ${{ github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged ) }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install doctl - name: Install doctl
uses: digitalocean/action-doctl@v2 uses: digitalocean/action-doctl@v2
with: with: