Skip to content

Commit

Permalink
chore: publish pr
Browse files Browse the repository at this point in the history
  • Loading branch information
sastan committed Jan 1, 2021
1 parent 690a227 commit 3d722c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on: [push]
jobs:
build:
name: Node ${{ matrix.node }} on ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,15 @@ jobs:
</details>
<details><summary>Install from command line (click to expand)</summary>
<details><summary>Install/Update from command line (click to expand)</summary>
```sh
# For npm
npm install ${{ env.NPM_PACKAGE_NAME }}@npm:@${{ github.repository }}@pr${{ github.event.number }}
npm upgrade ${{ env.NPM_PACKAGE_NAME }}@npm:@${{ github.repository }}@pr${{ github.event.number }}
# For yarn
yarn add ${{ env.NPM_PACKAGE_NAME }}@npm:@${{ github.repository }}@pr${{ github.event.number }}
# For yarn - upgrade implies install
yarn upgrade ${{ env.NPM_PACKAGE_NAME }}@npm:@${{ github.repository }}@pr${{ github.event.number }}
```
</details>
Expand Down

0 comments on commit 3d722c4

Please sign in to comment.