Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Release package

Release package #1

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Release package

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 29, Col: 9): 'run' is already defined

Check failure on line 29 in .github/workflows/publish.yaml

View workflow run for this annotation

GitHub Actions / Release package

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yaml (Line: 29, Col: 9): 'run' is already defined
- name: Publish 🚀
shell: bash
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}