Skip to content

Commit

Permalink
stop testing against deprecated gohugoio/hugoBasicExample site (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejarvis committed Feb 21, 2024
1 parent adf87d5 commit 9ae6c38
Show file tree
Hide file tree
Showing 4 changed files with 226 additions and 220 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
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
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
path: site/
repository: gohugoio/hugoDocs
path: docs/
fetch-depth: 1
- name: Build example site
run: node lib/cli.js --source site/ --minify --verbose
- name: Build docs
run: node lib/cli.js --source docs/ --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

0 comments on commit 9ae6c38

Please sign in to comment.