Skip to content

Commit

Permalink
chore(ci): update actions and node version
Browse files Browse the repository at this point in the history
  • Loading branch information
amountainram committed Aug 1, 2024
1 parent f126f45 commit 05e6742
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
node-version:
default: 18.x
default: 20.x
required: false
type: string

Expand All @@ -14,16 +14,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: yarn

- name: Build Cache
uses: actions/cache@v3
uses: actions/cache@v4
id: build-cache
with:
path: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tag

env:
NPM_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
node-version: 18.x
node-version: 20.x

on:
workflow_dispatch:
Expand All @@ -22,16 +22,16 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.node-version }}
cache: yarn

- name: Build Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./dist
Expand Down

0 comments on commit 05e6742

Please sign in to comment.