Skip to content

Commit

Permalink
~ fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dzek69 committed Aug 26, 2023
1 parent 56fc497 commit 34a54c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
VER=$(cat ./package.json | jq -r .version)
echo Detected version: $VER
if [[ "$VER" == *"+"* ]]; then echo "WIP/+ version detected, skipping"; exit 1; fi
yarn
yarn docs
npm i -g [email protected]
pnpm i
pnpm run docs
echo "APP_VERSION=$VER" >> "$GITHUB_ENV"
cat $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "eslint src --ext .ts,.tsx,.js,.jsx,.mjs",
"lint:fix": "pnpm lint --fix",
"prepack": "pnpm compile",
"prepublishOnly": "pnpm audit && pnpm lint && pnpm test && pnpm docs",
"prepublishOnly": "pnpm audit && pnpm lint && pnpm test && pnpm run docs",
"prepare": "husky install",
"start:dev": "next dev",
"start:dev:compatibility": "TS_NODE_FILES=true pnpm start:dev",
Expand Down

0 comments on commit 34a54c8

Please sign in to comment.