Skip to content

Replace dependency npm-run-all with npm-run-all2 ^5.0.0 #983

Replace dependency npm-run-all with npm-run-all2 ^5.0.0

Replace dependency npm-run-all with npm-run-all2 ^5.0.0 #983

Workflow file for this run

name: Build
on:
pull_request
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@master
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
node-version: '>=20'
check-latest: true
- name: Get yarn cache directory path πŸ› 
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node_modules πŸ“¦
uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: yarn --frozen-lockfile --silent
- name: Run build production server πŸ“¦
run: yarn build