Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
broofa committed May 19, 2022
1 parent 4698c42 commit cda2c14
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/release-please.yml
Expand Up @@ -11,26 +11,31 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: runmd

package-name: test-release-please
- uses: actions/checkout@v3

# if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org/'
registry-url: 'https://registry.npmjs.org'
# if: ${{ steps.release.outputs.release_created }}

- run: npm ci
# if: ${{ steps.release.outputs.release_created }}

- run: npm install
- run: npm install npm@latest -g
- run: npm run lint
- run: npm run test
- run: npm test
# if: ${{ steps.release.outputs.release_created }}


# - name: Setup upterm session
# uses: lhotari/action-upterm@v1

- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit cda2c14

Please sign in to comment.