diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7689bd5ee..5010311c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -53,9 +53,11 @@ jobs: shell: bash working-directory: ./theia run: | - yarn --skip-integrity-check --network-timeout 100000 - yarn browser build - yarn electron build + npm install -g node-gyp + npm ci + npm run build + npm run build:browser + npm run build:electron env: NODE_OPTIONS: --max_old_space_size=4096 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9 @@ -96,7 +98,7 @@ jobs: - name: Run Theia shell: bash working-directory: ./theia - run: yarn browser start & + run: npm run start:browser & - name: Test (playwright browser) shell: bash diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 7b89d3651..edf8ddb14 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -44,8 +44,9 @@ jobs: shell: bash working-directory: ./theia run: | - yarn --skip-integrity-check --network-timeout 100000 - yarn download:plugins --rate-limit 1 + npm install -g node-gyp + npm ci + npm run download:plugins -- --rate-limit 1 env: NODE_OPTIONS: --max_old_space_size=4096 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9 @@ -53,7 +54,7 @@ jobs: shell: bash working-directory: ./theia/examples/browser run: | - yarn -s compile && yarn rebuild && yarn theia build --mode=production + npm run build:production env: NODE_OPTIONS: --max_old_space_size=4096 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9 @@ -61,7 +62,7 @@ jobs: shell: bash working-directory: ./theia/examples/electron run: | - yarn -s compile && yarn rebuild && yarn theia build --mode=production + npm run build env: NODE_OPTIONS: --max_old_space_size=4096 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9 @@ -105,7 +106,7 @@ jobs: - name: Run Theia browser backend (#${{ matrix.run }}) shell: bash working-directory: ./theia - run: yarn browser start:debug & + run: npm run start:browser & - name: Run Performance Measurement / browser (#${{ matrix.run }}) shell: bash run: yarn performance