Fix issues caused by upgrade to Node.js 18 #2215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Timezones 2/2 | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: export CHROME_BIN | |
run: export CHROME_BIN=chromium-browser | |
- name: export DISPLAY | |
run: export DISPLAY=:99.0 | |
- name: Install yarn | |
run: npm install -g yarn | |
- name: Install dependencies | |
run: yarn install | |
- name: Run tests | |
uses: GabrielBB/xvfb-action@v1.0 | |
with: | |
run: ./scripts/test/ci.sh | |
env: | |
TEST_SUITE: tz | |
TZ_LENGTH: 2 | |
TZ_INDEX: 1 |