Skip to content

Resolved workflows (#8) #4

Resolved workflows (#8)

Resolved workflows (#8) #4

name: 'Publish browser-agent/collection to npm'
on:
push:
branches: [main]
jobs:
publish:

Check failure on line 8 in .github/workflows/publish-collection.yml

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 8
- name: Publish browser-agent/collection
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18
registry-url: https://registry.npmjs.org
- name: Set correct yarn
run: corepack enable
- name: Install
run: yarn
- name: Generate
run: yarn collection:update
- name: Build
run: yarn collection:build
- name: Publish
run: yarn collection:publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}