Skip to content

Commit

Permalink
ci: adjust order of operations
Browse files Browse the repository at this point in the history
  • Loading branch information
estrattonbailey committed Jul 17, 2021
1 parent f5f2737 commit 7dffcb3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
version: 6.x
- name: pnpm - config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: pnpm - output bin stubs
run: echo "#! /usr/bin/env node" > ./packages/presta/cli.js
- name: pnpm - install
run: pnpm install

Expand All @@ -47,12 +49,12 @@ jobs:
run: pnpm lint
- name: typecheck
run: pnpm typecheck
- name: build
run: pnpm build
- name: test
run: pnpm test
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: build
run: pnpm build

# publish to npm
- name: release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ jobs:
run: pnpm lint
- name: typecheck
run: pnpm typecheck
- name: build
run: pnpm build
- name: test
run: pnpm test
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: build
run: pnpm build

0 comments on commit 7dffcb3

Please sign in to comment.