Skip to content

Commit

Permalink
ci: temporarily disable electron
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 4, 2022
1 parent 0f42aa6 commit 77c7383
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,43 +230,43 @@ jobs:
env:
BROWSER: ${{ matrix.browser }}

electron:
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: lts/hydrogen # 18
cache: 'npm'
check-latest: true
- name: Install dependencies
run: npm clean-install
- name: Load cached dist
uses: actions/cache@v3
id: dist
with:
path: dist
key: ${{ needs.build.outputs.cache-key }}
- name: Abort if dist isn't cached
if: ${{ steps.dist.outputs.cache-hit != 'true' }}
uses: actions/github-script@v6
with:
script: |
core.setFailed('dist cache hit failed')
- name: Install Electron
run: npm install --global xvfb-maybe electron
- name: Test Electron crypto
run: xvfb-maybe electron ./test/.electron
# electron:
# needs:
# - build
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Setup node
# uses: actions/setup-node@v3
# with:
# node-version: lts/hydrogen # 18
# cache: 'npm'
# check-latest: true
# - name: Install dependencies
# run: npm clean-install
# - name: Load cached dist
# uses: actions/cache@v3
# id: dist
# with:
# path: dist
# key: ${{ needs.build.outputs.cache-key }}
# - name: Abort if dist isn't cached
# if: ${{ steps.dist.outputs.cache-hit != 'true' }}
# uses: actions/github-script@v6
# with:
# script: |
# core.setFailed('dist cache hit failed')
# - name: Install Electron
# run: npm install --global xvfb-maybe electron
# - name: Test Electron crypto
# run: xvfb-maybe electron ./test/.electron

prepare-release:
needs:
- browsers
- deno
- electron
# - electron
- node
- workers
- edge-runtime
Expand Down

0 comments on commit 77c7383

Please sign in to comment.