Skip to content

Commit

Permalink
upgrade CI to node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Aug 28, 2023
1 parent 958a5f2 commit aeeb684
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- uses: actions/cache@v3
with:
path: ~/.npm
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- uses: actions/cache@v3
with:
path: ~/.npm
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- uses: actions/cache@v3
with:
path: ~/.npm
Expand All @@ -75,14 +75,14 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.OS }}-node-
- run: npm ci
- run: npm run website:build
- run: NODE_OPTIONS=--openssl-legacy-provider npm run website:build
- run: npm run check-git-clean

publish:
Expand All @@ -96,15 +96,15 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.OS }}-node-
- run: npm ci
- run: npm run build
- run: npm run website:build
- run: NODE_OPTIONS=--openssl-legacy-provider npm run website:build
- name: Push NPM Branch
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- uses: actions/cache@v3
with:
Expand Down

0 comments on commit aeeb684

Please sign in to comment.