mirror of
https://github.com/bs-community/blessing-skin-plugins.git
synced 2025-01-08 11:37:27 +08:00
setup pnpm in CI
This commit is contained in:
parent
5e30443252
commit
3748163394
58
.github/workflows/Publish.yml
vendored
58
.github/workflows/Publish.yml
vendored
@ -10,30 +10,34 @@ jobs:
|
||||
name: 'Build and Publish'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 10
|
||||
- name: Checkout distribution repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: bs-community/plugins-dist
|
||||
path: '.dist'
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
- name: Download nano
|
||||
run: ./download-nano.ps1
|
||||
shell: pwsh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build
|
||||
run: ./nano
|
||||
env:
|
||||
RUST_LOG: info
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Publish
|
||||
run: ./publish.ps1
|
||||
shell: pwsh
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 10
|
||||
- name: Checkout distribution repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
repository: bs-community/plugins-dist
|
||||
path: '.dist'
|
||||
token: ${{ secrets.GH_TOKEN }}
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v2.2.2
|
||||
with:
|
||||
version: 7.26.0
|
||||
- name: Download nano
|
||||
run: ./download-nano.ps1
|
||||
shell: pwsh
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build
|
||||
run: ./nano
|
||||
env:
|
||||
RUST_LOG: info
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Publish
|
||||
run: ./publish.ps1
|
||||
shell: pwsh
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
||||
|
Loading…
Reference in New Issue
Block a user