Skip to content

Commit

Permalink
Fix not working resolve path in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wasanx25 committed Feb 20, 2022
1 parent 55bc8ac commit 4efce48
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/check-bundle-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@ jobs:
- uses: actions/checkout@v2
with:
ref: master
path: master-repo
- name: Use Node.js v16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- run: yarn
- run: yarn build
- run: |
yarn
yarn build
working-directory: frontend
- run: mv artifacts/webpack-stats.json artifacts/webpack-stats-base.json
- uses: actions/upload-artifact@v2
with:
name: stats
path: artifact/webpack-stats.json
path: frontend/artifacts/webpack-stats-base.json

current-branch-bundle:
runs-on: ubuntu-latest
Expand All @@ -31,18 +33,18 @@ jobs:
working-directory: frontend
steps:
- uses: actions/checkout@v2
with:
path: current-branch-repo
- name: Use Node.js v16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
- run: yarn
- run: yarn build
- run: |
yarn
yarn build
working-directory: frontend
- uses: actions/upload-artifact@v2
with:
name: stats
path: artifact/webpack-stats.json
path: frontend/artifacts/webpack-stats.json

# check-diff:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 4efce48

Please sign in to comment.