File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1- name : ' 🔒 setup '
1+ name : ' 🛠️ Install '
22description : ' Setup Node, pnpm & install dependencies'
33
4+ inputs :
5+ token :
6+ description : Auth Token for GitHub Packages
7+
48runs :
59 using : ' composite'
610 steps :
1519 node-version-file : package.json
1620 cache : pnpm
1721
22+ - name : GitHub Packages Auth
23+ shell : bash
24+ if : ${{ inputs.token != '' }}
25+ run : |
26+ echo "//npm.pkg.github.com/:_authToken=${{ inputs.token }}" >> ~/.npmrc
27+
1828 - name : Install dependencies
1929 shell : bash
20- run : pnpm install
30+ run : pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change 4242
4343 - name : Install
4444 uses : ./.github/actions/install
45+ with :
46+ token : ${{ secrets.GITHUB_TOKEN }}
4547
4648 - name : Build
4749 run : pnpm build
Original file line number Diff line number Diff line change 2424
2525 - name : Install
2626 uses : ./.github/actions/install
27+ with :
28+ token : ${{ secrets.GITHUB_TOKEN }}
2729
2830 - name : Lint
2931 run : pnpm lint
3537
3638 - name : Install
3739 uses : ./.github/actions/install
40+ with :
41+ token : ${{ secrets.GITHUB_TOKEN }}
3842
3943 - name : Build
4044 run : pnpm build
4650
4751 - name : Install
4852 uses : ./.github/actions/install
53+ with :
54+ token : ${{ secrets.GITHUB_TOKEN }}
4955
5056 - name : Build package/playground
5157 uses : docker/build-push-action@v5
You can’t perform that action at this time.
0 commit comments