Skip to content

Commit

Permalink
update github actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicarrojado committed Sep 13, 2024
1 parent 114e5b2 commit 656d842
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -26,7 +26,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache dependencies and Next.js build
uses: actions/cache@v3
uses: actions/cache@v4
id: nestjs-cache
with:
path: |
Expand All @@ -46,7 +46,7 @@ jobs:
run: yarn test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

- name: Build
run: yarn build
Expand All @@ -70,7 +70,7 @@ jobs:
repository: ${{ github.repository }}

- name: Merge gh-pages -> main
uses: devmasx/merge-branch@v1.3.1
uses: devmasx/merge-branch@v1.4.0
with:
type: now
from_branch: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -26,7 +26,7 @@ jobs:
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache dependencies and Next.js build
uses: actions/cache@v3
uses: actions/cache@v4
id: nestjs-cache
with:
path: |
Expand All @@ -46,7 +46,7 @@ jobs:
run: yarn test

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

- name: Build
run: yarn build
Expand Down

0 comments on commit 656d842

Please sign in to comment.