Skip to content

Commit

Permalink
ci: publish config for yarn 2
Browse files Browse the repository at this point in the history
  • Loading branch information
m-radzikowski committed Aug 21, 2022
1 parent a5f4ec4 commit 7c4884e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'

- run: yarn install --immutable

Expand Down Expand Up @@ -44,7 +43,7 @@ jobs:
- run: yarn run publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- uses: ad-m/github-push-action@master
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'

- run: yarn install --immutable

Expand Down Expand Up @@ -50,7 +49,7 @@ jobs:
- run: yarn run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- uses: ad-m/github-push-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"release": "standard-version",
"verdaccio": "rimraf verdaccio-storage && verdaccio -c verdaccio.yml",
"local-publish": "yarn workspaces foreach -pv run local-publish",
"publish": "yarn workspaces foreach -pv npm publish"
"publish": "yarn workspaces foreach -pv --no-private npm publish"
},
"devDependencies": {
"@commitlint/cli": "13.1.0",
Expand Down

0 comments on commit 7c4884e

Please sign in to comment.