diff options
Diffstat (limited to 'date-fns/.github/workflows/timezone_step_1.yaml')
-rw-r--r-- | date-fns/.github/workflows/timezone_step_1.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/date-fns/.github/workflows/timezone_step_1.yaml b/date-fns/.github/workflows/timezone_step_1.yaml new file mode 100644 index 0000000..fe9f365 --- /dev/null +++ b/date-fns/.github/workflows/timezone_step_1.yaml @@ -0,0 +1,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 |