Skip to content

Commit

Permalink
stop testing against deprecated gohugoio/hugoBasicExample site
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejarvis committed Feb 21, 2024
1 parent adf87d5 commit 6945ba8
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 219 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
registry-url: https://registry.npmjs.org/
- run: yarn install --frozen-lockfile
- run: yarn publish
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
- macos-latest
- windows-latest
node:
- 21
- 20
- 18
- 16
- 14
fail-fast: false
runs-on: ${{ matrix.os }}
name: Node ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: yarn install --frozen-lockfile
Expand All @@ -36,11 +36,11 @@ jobs:
- run: yarn audit
continue-on-error: true
- run: yarn test
- name: Checkout gohugoio/hugoBasicExample
uses: actions/checkout@v3
- name: Checkout gohugoio/hugoDocs
uses: actions/checkout@v4
with:
repository: gohugoio/hugoBasicExample
repository: gohugoio/hugoDocs
path: site/
fetch-depth: 1
- name: Build example site
run: node lib/cli.js --source site/ --minify --verbose
run: node lib/cli.js --source site/ --minify --enableGitInfo --logLevel info
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
},
"devDependencies": {
"@jakejarvis/eslint-config": "*",
"del": "^7.0.0",
"eslint": "^8.41.0",
"mocha": "^10.2.0"
"del": "^7.1.0",
"eslint": "^8.56.0",
"mocha": "^10.3.0"
},
"scripts": {
"postinstall": "node postinstall.js",
Expand Down
Loading

0 comments on commit 6945ba8

Please sign in to comment.