-
Notifications
You must be signed in to change notification settings - Fork 11
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
Incompatible version of node in latest GitHub ubuntu 20.04 image #53
Comments
-- jupyterlab/jupyterlab#11606
-- jupyterlab/jupyterlab#11607 (comment) Other relevant info to the above issues: jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- uses: iterative/setup-cml@v1
- env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: cml-publish ./benchmark-results/lab-benchmark.png --md >> ./benchmark-results/lab-benchmark.md Note that Line 37 in a7b00a8
Unsure of how best to go about fixing this.
|
Original error message
|
Simplified reproducible exampleon: workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- uses: iterative/setup-cml@v1
- run: cml-publish /dev/null
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} Run
|
Minimal reproducible exampleon: workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- run: |
set -x
sudo npm --version
npm --version
sudo node --version
node --version Run
|
Minimal working exampleon: workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- uses: iterative/setup-cml@v1
with:
sudo: false
- run: cml-publish /dev/null
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Apparently, On the other hand, Subsequent workflow steps will try to run |
@fcollonval should be fixed now! |
Thanks a lot @0x2b3bfa0 and @casperdcl for fixing this. |
In https://github.com/actions/virtual-environments/pull/4395/files, NodeJS 16 has been added to the ubuntu image. I think this is the reason we are hitting that error in our CI although we are using the GitHub actions to use NodeJS 14. Is there a workaround? Or do we need to wait for iterative/cml#825?
The text was updated successfully, but these errors were encountered: