Skip to content

[wip]

[wip] #6

Workflow file for this run

name: Publish to NPM
on:
push:
branches:
- ci
tags:
- v*
jobs:
release:

Check failure on line 11 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Publish to NPM

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
name: Publish to NPM
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/[email protected]
with:
name: js
- name: List artifacts content
run: |
ls -l
- name: Setup node environment for NPM
uses: actions/[email protected]
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
check-latest: true
# - name: Publish to NPM
# run: SKIP_PREPARE=1 npm publish --access public
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}