mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-20 15:26:41 +02:00
ci: checkout master or pnpm fails
This commit is contained in:
parent
1c4f644eb9
commit
f904e08906
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
@ -11,6 +11,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: master # We have to checkout master or PNPM fails. Tag should be on master anyway.
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.pnpm-store
|
path: ~/.pnpm-store
|
||||||
|
@ -35,7 +37,6 @@ jobs:
|
||||||
branch: master
|
branch: master
|
||||||
- run: git -c user.email="actions@github.com" -c user.name="GitHub Actions" tag -fa ${{ github.ref_name }} -m "${{ github.ref_name }}"
|
- run: git -c user.email="actions@github.com" -c user.name="GitHub Actions" tag -fa ${{ github.ref_name }} -m "${{ github.ref_name }}"
|
||||||
- run: git push -f origin ${{ github.ref_name }}
|
- run: git push -f origin ${{ github.ref_name }}
|
||||||
- run: git checkout master
|
|
||||||
- run: pnpm -r publish --filter ./packages --access public
|
- run: pnpm -r publish --filter ./packages --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue