Skip to content

Commit

Permalink
ci: fix preflight
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed May 4, 2024
1 parent e850dd3 commit 0bc2c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,9 @@ jobs:
node-version-file: .node-version
cache: 'pnpm'

- name: Install Dependencies
id: install
run: pnpm install

- name: Build dist/ Directory
id: build
run: pnpm run bundle
run: pnpm run preflight

# This will fail the workflow if the `dist/` directory is different from
# expected.
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ jobs:
id: setup-pnpm
uses: pnpm/action-setup@v3
- name: Install dependencies and build
run: |
pnpm install
pnpm run all
run: pnpm run preflight
- name: Hello world action step
uses: ./ # Uses an action in the root directory
id: hello
Expand Down

0 comments on commit 0bc2c69

Please sign in to comment.