Skip to content

Commit

Permalink
chore: setup pnpm with reusable organization composite
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed May 7, 2024
1 parent c95ab96 commit 8947c26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,7 @@ jobs:
name: 🧪
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v3
with:
version: 9
- run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- run: pnpm i
- uses: dyne/workflows/.github/workflows/setup-pnpm.yml@main
- run: npx playwright install --with-deps
- run: pnpm t
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -61,7 +50,7 @@ jobs:
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- run: pnpm i
- run: npx semantic-release
- run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"npm-run-all": "^4.1.5",
"puppeteer": "^22.7.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"semantic-release": "^23.0.8",
"stencil-tailwind-plugin": "^1.8.0",
"storybook": "^8.0.8",
"tailwindcss": "^3.4.3",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8947c26

Please sign in to comment.