Skip to content

Commit

Permalink
🐛 fix: postinstall bug in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Rettend committed Jan 23, 2024
1 parent 6ac6127 commit a910570
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 23 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ jobs:
node-version: 18.x
cache: pnpm

- name: Setup
run: npm i -g @antfu/ni

- name: Install
run: nci
run: pnpm i --ignore-scripts

- name: Lint
run: nr lint
run: pnpm run lint

typecheck:
runs-on: ubuntu-latest
Expand All @@ -47,16 +44,11 @@ jobs:
node-version: 18.x
cache: pnpm

- name: Setup
run: npm i -g @antfu/ni

- name: Install
env:
SKIP_POSTINSTALL: true
run: nci
run: pnpm i --ignore-scripts

- name: Typecheck
run: nr typecheck
run: pnpm run typecheck

test:
runs-on: ubuntu-latest
Expand All @@ -73,16 +65,11 @@ jobs:
node-version: 18.x
cache: pnpm

- name: Setup
run: npm i -g @antfu/ni

- name: Install
env:
SKIP_POSTINSTALL: true
run: nci
run: pnpm i --ignore-scripts

- name: Build
run: nr build
# - name: Build
# run: pnpm run build

- name: Test
run: nr test
run: pnpm run test
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
cache: pnpm

- name: Install eemoji
run: pnpm i
run: pnpm i --ignore-scripts

- name: Build eemoji
run: pnpm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
cache: pnpm

- name: Install
run: pnpm i
run: pnpm i --ignore-scripts

- name: Generate Schema
run: pnpm run schema
Expand Down

0 comments on commit a910570

Please sign in to comment.