Skip to content

Commit

Permalink
fix: example project CI command execution path
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaewoook committed Sep 22, 2024
1 parent e1a2d00 commit 7556324
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@ on:
push:
pull_request:

defaults:
run:
working-directory: example

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache-dependency-path: "yarn.lock"
node-version-file: "../.tool-versions"
cache-dependency-path: "example/yarn.lock"
node-version-file: ".tool-versions"
- run: cd example
- run: yarn install --frozen-lockfile
- run: yarn build
lint:
Expand All @@ -25,7 +22,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache-dependency-path: "yarn.lock"
node-version-file: "../.tool-versions"
cache-dependency-path: "example/yarn.lock"
node-version-file: ".tool-versions"
- run: cd example
- run: yarn install --frozen-lockfile
- run: yarn lint

0 comments on commit 7556324

Please sign in to comment.