mirror of
https://github.com/hzrd149/nsite-gateway.git
synced 2025-06-23 03:55:02 +00:00
remove publish next
This commit is contained in:
parent
225b616a3c
commit
80aab93bb7
37
.github/workflows/publish-next.yml
vendored
37
.github/workflows/publish-next.yml
vendored
@ -1,37 +0,0 @@
|
||||
name: Release next
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release next
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: .nvmrc
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Publish next version
|
||||
run: |
|
||||
pnpm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN && \
|
||||
pnpm whoami && \
|
||||
pnpm changeset version --snapshot next && \
|
||||
pnpm changeset publish --tag next
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user