summaryrefslogtreecommitdiff
path: root/date-fns/.github/workflows/timezone_step_1.yaml
blob: fe9f365de00eb4cfc54cdc8558c1d4b893b367af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Timezones 1/2

on: [push, pull_request]

jobs:
  tests:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        node-version: [14.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: 0