Skip to content

Commit

Permalink
fix prepublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
smonn committed May 14, 2024
1 parent 7503b2f commit facaffd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
node-version: 18
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
name: Build, lint, and test
name: lint, test, and build

runs-on: ubuntu-latest

Expand All @@ -33,15 +33,15 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- name: Lint
run: pnpm lint

- name: Test
run: pnpm coverage

- name: Build
run: pnpm build

- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"format": "prettier --write .",
"test": "vitest",
"coverage": "vitest run --coverage",
"prepublishOnly": "run-s clean lint test build",
"prepublishOnly": "run-s lint test build",
"prepare": "husky"
},
"devDependencies": {
Expand Down

0 comments on commit facaffd

Please sign in to comment.