Skip to content

Fixed yaml

Fixed yaml #2

Workflow file for this run

name: Build and publish to NPM
on:
push:
tags: ['v*']
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install development dependencies
run: npm install

Check failure on line 17 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
- name: Build bundle
run: npm run build
- name: Build types
- run: npm run types
- name: Publish to NPM
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH }}
run: npm publish --tag latest