Skip to content

Adding js lock file

Adding js lock file #2

Workflow file for this run

name: JS - publish
on:
workflow_dispatch:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: 'yarn'
- name: Build
working-directory: js
run: |
yarn

Check failure on line 20 in .github/workflows/js-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/js-publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
yarn run build
yarn run test
- name: Publish
working-directory: js
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}