Skip to content

Merge pull request #187 from BoomTech-LLC/staging #2

Merge pull request #187 from BoomTech-LLC/staging

Merge pull request #187 from BoomTech-LLC/staging #2

Workflow file for this run

name: Main
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Configure npm for authentication
run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > ~/.npmrc
- name: Publish to npm

Check failure on line 33 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}