build!: use pnpm
This commit is contained in:
parent
98460356b9
commit
0ff2f82a15
14 changed files with 1285 additions and 2387 deletions
|
@ -10,4 +10,6 @@ runs:
|
|||
node-version-file: .node-version
|
||||
# cache: 'npm'
|
||||
- shell: bash
|
||||
run: npm ci
|
||||
run: corepack enable
|
||||
- shell: bash
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
|
|
@ -32,8 +32,8 @@ jobs:
|
|||
- uses: ./.forgejo/actions/setup
|
||||
- uses: ./.forgejo/actions/setup-node
|
||||
|
||||
- run: npm run prettier
|
||||
- run: npx markdownlint-cli .
|
||||
- run: pnpm prettier
|
||||
- run: pnpm markdownlint .
|
||||
- run: make readme
|
||||
- run: git diff --exit-code --name-only README.md
|
||||
|
||||
|
@ -190,4 +190,4 @@ jobs:
|
|||
helm push tmp/forgejo-${GITHUB_REF_NAME#v}.tgz oci://code.forgejo.org/forgejo-contrib
|
||||
|
||||
- name: publish forgejo release
|
||||
run: npm run forgejo:release
|
||||
run: pnpm forgejo:release
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue