Skip to content

Commit 9426cfa

Browse files
respec's disable sandbox
1 parent 4325484 commit 9426cfa

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/preview.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
node-version: "latest"
2020

2121
- name: Install additional dependencies
22-
run: npm install axios yargs respec
23-
22+
run: npm install axios yargs
23+
24+
- name : Install respec globally
25+
run : npm install -g respec
2426

2527
- name: Build site
2628
run: bash ./common/script/pr-preview.sh
27-
env:
28-
PUPPETEER_LAUNCH_OPTIONS: '{"args": ["--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage"]}'
2929

3030
- name: Deploy site to Netlify
3131
uses: nwtgck/[email protected]

common/script/pr-preview.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ mkdir -p public/mathml-aam
2121
mkdir -p public/pdf-aam
2222

2323
# build all specs
24-
npx respec -s index.html -o public/index.html --localhost
24+
npx respec -s index.html -o public/index.html --localhost --disable-sandbox
2525
echo "Built ARIA"
26-
npx respec -s accname/index.html -o public/accname/index.html --localhost
26+
npx respec -s accname/index.html -o public/accname/index.html --localhost --disable-sandbox
2727
echo "Built AccName"
28-
npx respec -s core-aam/index.html -o public/core-aam/index.html --localhost
28+
npx respec -s core-aam/index.html -o public/core-aam/index.html --localhost --disable-sandbox
2929
echo "Built Core AAM"
30-
npx respec -s dpub-aam/index.html -o public/dpub-aam/index.html --localhost
30+
npx respec -s dpub-aam/index.html -o public/dpub-aam/index.html --localhost --disable-sandbox
3131
echo "Built DPub AAM"
32-
npx respec -s dpub-aria/index.html -o public/dpub-aria/index.html --localhost
32+
npx respec -s dpub-aria/index.html -o public/dpub-aria/index.html --localhost --disable-sandbox
3333
echo "Built DPUB ARIA"
34-
npx respec -s graphics-aam/index.html -o public/graphics-aam/index.html --localhost
34+
npx respec -s graphics-aam/index.html -o public/graphics-aam/index.html --localhost --disable-sandbox
3535
echo "Built graphics AAM"
36-
npx respec -s graphics-aria/index.html -o public/graphics-aria/index.html --localhost
36+
npx respec -s graphics-aria/index.html -o public/graphics-aria/index.html --localhost --disable-sandbox
3737
echo "Built graphics ARIA"
38-
npx respec -s svg-aam/index.html -o public/svg-aam/index.html --localhost
38+
npx respec -s svg-aam/index.html -o public/svg-aam/index.html --localhost --disable-sandbox
3939
echo "Built SVG AAM"
40-
npx respec -s mathml-aam/index.html -o public/mathml-aam/index.html --localhost
40+
npx respec -s mathml-aam/index.html -o public/mathml-aam/index.html --localhost --disable-sandbox
4141
echo "Built mathml-aam"
42-
npx respec -s pdf-aam/index.html -o public/pdf-aam/index.html --localhost
42+
npx respec -s pdf-aam/index.html -o public/pdf-aam/index.html --localhost --disable-sandbox
4343
echo "Built PDF AAM"

0 commit comments

Comments
 (0)