You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-06-24 10:25:57 -04:00
yarn ➡️ pnpm
This commit is contained in:
@@ -15,7 +15,11 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
registry-url: https://registry.npmjs.org/
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn publish
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm publish --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
@@ -19,7 +19,6 @@ jobs:
|
||||
- 20
|
||||
- 18
|
||||
- 16
|
||||
- 14
|
||||
fail-fast: false
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Node ${{ matrix.node }} on ${{ matrix.os }}
|
||||
@@ -28,19 +27,17 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- run: yarn install --frozen-lockfile
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 8
|
||||
run_install: false
|
||||
- run: pnpm install --frozen-lockfile
|
||||
env:
|
||||
DEBUG: careful-downloader
|
||||
DEBUG_HIDE_DATE: 1
|
||||
DEBUG_COLORS: 0
|
||||
- run: yarn audit
|
||||
- run: pnpm audit --prod
|
||||
continue-on-error: true
|
||||
- run: yarn test
|
||||
- name: Checkout gohugoio/hugoDocs
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: gohugoio/hugoDocs
|
||||
path: docs/
|
||||
fetch-depth: 1
|
||||
- name: Build docs
|
||||
run: node lib/cli.js --source docs/ --minify --enableGitInfo --logLevel info
|
||||
- run: pnpm run test
|
||||
- run: node lib/cli.js new site mysite
|
||||
- run: node lib/cli.js --source mysite/ --minify --enableGitInfo --logLevel info
|
||||
|
||||
Reference in New Issue
Block a user