Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

fix(next-image-snapshot): Make it usable for CI #22

fix(next-image-snapshot): Make it usable for CI

fix(next-image-snapshot): Make it usable for CI #22

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
env:
CI: 1
jobs:
build:
name: Build and Test
timeout-minutes: 15
runs-on: ubuntu-latest
# To use Remote Caching, uncomment the next lines and follow the steps below.
# env:
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
# TURBO_TEAM: ${{ vars.TURBO_TEAM }}
env:
DISPLAY: ":99"
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: pnpm/[email protected]
with:
version: 8.6.3
- uses: nanasess/setup-chromedriver@v2
- run: |
chromedriver --url-base=/wd/hub &
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Test
run: pnpm turbo run test:ci