Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit a63e42b

Browse files
committed
chore: attempt to remove GabrielBB/xvfb-action
some steps are showing the following failure on github: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: GabrielBB/xvfb-action see https://github.com/SgtPooki/js-ipfs-examples/actions/runs/3245100955
1 parent 48be6dc commit a63e42b

File tree

1 file changed

+24
-11
lines changed

1 file changed

+24
-11
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,19 @@ jobs:
5959
- uses: actions/setup-node@v3
6060
with:
6161
node-version: lts/*
62-
- run: npm install && npx -y playwright install-deps
63-
- uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d # https://github.com/GabrielBB/xvfb-action/releases/tag/v1.6
64-
name: Run tests
65-
with:
66-
run: npm test
67-
working-directory: examples/${{ matrix.project }}
62+
- name: Install dependencies
63+
run: npm install
64+
- name: Install Playwright
65+
run: npx -y playwright install --with-deps
66+
- name: Run tests
67+
run: npm run test
68+
env:
69+
CI: true
70+
# - uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d # https://github.com/GabrielBB/xvfb-action/releases/tag/v1.6
71+
# name: Run tests
72+
# with:
73+
# run: npm test
74+
# working-directory: examples/${{ matrix.project }}
6875

6976
monorepo:
7077
runs-on: ubuntu-latest
@@ -75,8 +82,14 @@ jobs:
7582
with:
7683
node-version: lts/*
7784
- name: Install dependencies
78-
run: npm install && npx -y playwright install-deps
79-
- uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d # https://github.com/GabrielBB/xvfb-action/releases/tag/v1.6
80-
name: Run test:examples
81-
with:
82-
run: npm run test:examples
85+
run: npm install
86+
- name: Install Playwright
87+
run: npx -y playwright install --with-deps
88+
- name: Run test:examples
89+
run: npm run test:examples
90+
env:
91+
CI: true
92+
# - uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d # https://github.com/GabrielBB/xvfb-action/releases/tag/v1.6
93+
# name: Run test:examples
94+
# with:
95+
# run: npm run test:examples

0 commit comments

Comments
 (0)