This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Release package #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release package | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v2 | ||
name: Install pnpm | ||
with: | ||
version: 8 | ||
run_install: false | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: pnpm | ||
registry-url: https://registry.npmjs.org | ||
- name: Install dependencies | ||
run: cd plugin | ||
run: pnpm install --frozen-lockfile | ||
Check failure on line 29 in .github/workflows/publish.yaml GitHub Actions / Release packageInvalid workflow file
|
||
- name: Publish 🚀 | ||
shell: bash | ||
run: pnpm publish --no-git-checks | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |