Skip to content

chore(deps): update actions/cache action to v4.1.0 #1698

chore(deps): update actions/cache action to v4.1.0

chore(deps): update actions/cache action to v4.1.0 #1698

Workflow file for this run

name: build-script
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.0
- name: Cache node modules
uses: actions/cache@v4.1.0
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- uses: actions/setup-node@v4.0.4
with:
node-version: '18.x'
- name: use yarn
run: |
yarn install
yarn sync
yarn build