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

Change npm registry to nexus for CI test and enable turbo remote cache #2535

Merged
merged 10 commits into from
Apr 2, 2024
Next Next commit
Change npm registry to nexus for CI test
  • Loading branch information
hientominh committed Mar 29, 2024
commit 96639d02ecec0fbb3ab1324f01413b75b3898919
8 changes: 8 additions & 0 deletions .github/workflows/jan-electron-linter-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 62,8 @@ jobs:

- name: Linter and test
run: |
npm config set registry https://nexus.jan.ai/repository/jan-npm/ --global
yarn config set registry https://nexus.jan.ai/repository/jan-npm/ --global
make test
env:
CSC_IDENTITY_AUTO_DISCOVERY: "false"
Expand Down Expand Up @@ -101,6 103,8 @@ jobs:
- name: Linter and test
shell: powershell
run: |
npm config set registry https://nexus.jan.ai/repository/jan-npm/ --global
yarn config set registry https://nexus.jan.ai/repository/jan-npm/ --global
make test
test-on-windows-pr:
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -133,6 137,8 @@ jobs:
- name: Linter and test
shell: powershell
run: |
npm config set registry https://nexus.jan.ai/repository/jan-npm/ --global
yarn config set registry https://nexus.jan.ai/repository/jan-npm/ --global
make test

test-on-ubuntu:
Expand Down Expand Up @@ -162,4 168,6 @@ jobs:
run: |
export DISPLAY=$(w -h | awk 'NR==1 {print $2}')
echo -e "Display ID: $DISPLAY"
npm config set registry https://nexus.jan.ai/repository/jan-npm/ --global
yarn config set registry https://nexus.jan.ai/repository/jan-npm/ --global
make test
Loading