Skip to content

update notes

update notes #1

Workflow file for this run

name: Publish Plugin To NPM
on:
push:
tags:
- '*'
jobs:
build_and_publish:
runs-on: ubuntu-latest
name: Build and publish package
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set Node 18.x
uses: actions/setup-node@v4
node-version-file: '.nvmrc'

Check failure on line 19 in .github/workflows/publish-to-npm.yml

View workflow run for this annotation

GitHub Actions / Publish Plugin To NPM

Invalid workflow file

The workflow is not valid. .github/workflows/publish-to-npm.yml (Line: 19, Col: 9): Unexpected value 'node-version-file' .github/workflows/publish-to-npm.yml (Line: 20, Col: 9): Unexpected value 'registry-url'
registry-url: 'https://registry.npmjs.org'
scope: '@dylmye'
cache: yarn
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build package
run: yarn build plugin
- name: Publish to NPM
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
create_release:
runs-on: ubuntu-latest
name: Create GitHub release
needs: build_and_publish
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Create release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true