Skip to content

Commit

Permalink
change node version to node.js 20 (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmarcus authored Feb 13, 2024
1 parent 0b7b634 commit fc9f631
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/branch-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
# don't run this when the actor is mintbase team (automatic push from this script)
if: ${{ github.actor != 'mintbaseteam' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TEAM_PAT }}
ref: ${{ github.event.release.target_commitish }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Configure git and npm creds
run: |
Expand All @@ -36,10 +36,10 @@ jobs:
npm run test
- name: Aggregate LCOV results
uses: RauliL/lerna-lcov-aggregate-action@master
uses: Mintbase/lerna-lcov-aggregate-action@master

- name: Coveralls
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -54,7 +54,7 @@ jobs:
lerna publish from-package --yes --dist-tag ${{ github.event.action == 'released' && 'latest' || 'prerelease'}}
git push --force
- uses: chrnorm/deployment-action@v2
- uses: Mintbase/deployment-action@main
name: Create GitHub deployment
id: deployment
with:
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Update deployment status (success)
if: ${{ steps.publish.outcome == 'success' && github.ref_name != 'beta'}}
uses: chrnorm/deployment-status@v2
uses: Mintbase/deployment-status@main
with:
token: '${{ github.token }}'
environment-url: https://www.npmjs.com/settings/mintbase-js/packages
Expand All @@ -84,7 +84,7 @@ jobs:

- name: Update deployment status (failure)
if: ${{ steps.publish.outcome != 'success' && github.ref_name != 'beta'}}
uses: chrnorm/deployment-status@v2
uses: Mintbase/deployment-status@main
with:
token: '${{ github.token }}'
environment-url: https://www.npmjs.com/settings/mintbase-js/packages
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use Node.js 16
uses: actions/setup-node@v1
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "Mintbase/gitbook-docs"
ref: "main"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/old-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: main

- name: Use Node.js 14.x
uses: actions/setup-node@v1
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 14.x
node-version: 20.x

- name: Install and Build
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TEAM_PAT }}
ref: ${{ github.event.release.target_commitish }}

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Configure git and npm creds
run: |
Expand Down

0 comments on commit fc9f631

Please sign in to comment.