|
|
@@ -14,6 +14,8 @@ jobs:
|
|
|
unit-test:
|
|
|
runs-on: ubuntu-latest
|
|
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
|
|
+ env:
|
|
|
+ PUPPETEER_SKIP_DOWNLOAD: 'true'
|
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
@@ -26,9 +28,6 @@ jobs:
|
|
|
node-version: 18
|
|
|
cache: 'pnpm'
|
|
|
|
|
|
- - name: Skip Puppeteer download
|
|
|
- run: echo "PUPPETEER_SKIP_DOWNLOAD=1" >> $GITHUB_ENV
|
|
|
-
|
|
|
- run: pnpm install
|
|
|
|
|
|
- name: Run unit tests
|
|
|
@@ -37,6 +36,8 @@ jobs:
|
|
|
unit-test-windows:
|
|
|
runs-on: windows-latest
|
|
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
|
|
+ env:
|
|
|
+ PUPPETEER_SKIP_DOWNLOAD: 'true'
|
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
@@ -49,9 +50,6 @@ jobs:
|
|
|
node-version: 18
|
|
|
cache: 'pnpm'
|
|
|
|
|
|
- - name: Skip Puppeteer download
|
|
|
- run: echo "PUPPETEER_SKIP_DOWNLOAD=1" >> $env:GITHUB_ENV
|
|
|
-
|
|
|
- run: pnpm install
|
|
|
|
|
|
- name: Run compiler unit tests
|
|
|
@@ -89,6 +87,8 @@ jobs:
|
|
|
lint-and-test-dts:
|
|
|
runs-on: ubuntu-latest
|
|
|
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
|
|
|
+ env:
|
|
|
+ PUPPETEER_SKIP_DOWNLOAD: 'true'
|
|
|
steps:
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
@@ -101,9 +101,6 @@ jobs:
|
|
|
node-version: 18
|
|
|
cache: 'pnpm'
|
|
|
|
|
|
- - name: Skip Puppeteer download
|
|
|
- run: echo "PUPPETEER_SKIP_DOWNLOAD=1" >> $GITHUB_ENV
|
|
|
-
|
|
|
- run: pnpm install
|
|
|
|
|
|
- name: Run eslint
|