Skip to content

Commit 8b9d8ad

Browse files
committed
PUSH
-> Please be the fix
1 parent 0ef4066 commit 8b9d8ad

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/frontend.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Node.js CI
22

33
on: [push, pull_request]
44
jobs:
5-
lint:
6-
name: Frontend Lint
5+
build:
6+
name: Frontend Build
77
runs-on: ubuntu-latest
88

99
permissions:
@@ -27,6 +27,12 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
cache: yarn
2929
- name: Install dependencies
30-
run: yarn install --frozen-lockfile
30+
run: |
31+
if [ -f yarn.lock ]; then
32+
yarn install --frozen-lockfile
33+
else
34+
echo "yarn.lock file not found"
35+
exit 1
36+
fi
3137
- name: Build
3238
run: yarn build

0 commit comments

Comments
 (0)