Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): use specified node version for build #1435

Merged
merged 2 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:

jobs:
build_packages:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.14
node-version-file: '.nvmrc'

- name: build
run: |
Expand Down Expand Up @@ -44,9 +44,9 @@ jobs:

publish_docker:
if: github.event_name == 'release'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: docker meta
id: meta
uses: docker/metadata-action@v4
Expand Down Expand Up @@ -79,12 +79,12 @@ jobs:

publish_npm:
if: github.event_name == 'release' && !github.event.release.prerelease
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16.14
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: build
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ on:

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: build
run: |
docker run --rm -i \
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:

jobs:
deploy_website:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: use node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.14
node-version-file: '.nvmrc'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: set env
run: |
cd web
Expand All @@ -41,14 +41,14 @@ jobs:

publish_docker:
if: github.event_name != 'pull_request'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: use node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.14
node-version-file: '.nvmrc'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: set env
run: |
cd web
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16