File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 77env :
88 GIT_REF : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
99 NODE_VERSION : 20.18.1
10+ PNPM_VERSION : 10.8.1
1011
1112jobs :
1213 publish-extension :
@@ -19,17 +20,25 @@ jobs:
1920 contains(github.event.pull_request.title, 'Changeset version bump') ) ||
2021 github.event_name == 'workflow_dispatch'
2122 steps :
23+ - name : Checkout code
2224 - uses : actions/checkout@v4
2325 with :
2426 ref : ${{ env.GIT_REF }}
25- - uses : actions/setup-node@v4
27+ - name : Install pnpm
28+ uses : pnpm/action-setup@v4
29+ with :
30+ version : ${{ env.PNPM_VERSION }}
31+ - name : Setup Node.js
32+ uses : actions/setup-node@v4
2633 with :
2734 node-version : ${{ env.NODE_VERSION }}
28- - run : |
35+ cache : ' pnpm'
36+ - name : Install dependencies
37+ run : pnpm install
38+ - name : Configure Git
39+ run : |
2940 git config user.name "github-actions[bot]"
3041 git config user.email "github-actions[bot]@users.noreply.github.com"
31- - name : Install Dependencies
32- run : pnpm install
3342 - name : Create .env file
3443 run : echo "POSTHOG_API_KEY=${{ secrets.POSTHOG_API_KEY }}" >> .env
3544 - name : Package Extension
You can’t perform that action at this time.
0 commit comments