Skip to content

publish-npm

publish-npm #1

Workflow file for this run

name: publish-npm
on:
workflow_run:
workflows: [build-and-upload-binaries]
types: [completed]
jobs:
on-success:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Setup
uses: actions/checkout@v4
- name: Checkout
working-directory: ./rari-npm
uses: actions/setup-node@v4

Check failure on line 18 in .github/workflows/publish-npm.yml

GitHub Actions / publish-npm

Invalid workflow file

The workflow is not valid. .github/workflows/publish-npm.yml (Line: 18, Col: 9): Unexpected value 'uses' .github/workflows/publish-npm.yml (Line: 19, Col: 9): Unexpected value 'with'
with:
registry-url: "https://registry.npmjs.org/"
node-version-file: "package.json"
- name: Publish
working-directory: ./rari-npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}