Skip to content

Commit

Permalink
github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed May 5, 2024
1 parent e8f38d3 commit 837341d
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,49 @@
# name: CI

# on:
# push:
# branches: ["main"]
# pull_request:
# types: [opened, synchronize]

# jobs:
# build:
# name: Build and Test
# timeout-minutes: 15
# runs-on: ubuntu-latest

# steps:
# - name: Check out code
# uses: actions/checkout@v4
# with:
# fetch-depth: 2

# - name: Cache turbo build setup
# uses: actions/cache@v3
# with:
# path: .turbo
# key: ${{ runner.os }}-turbo-${{ github.sha }}
# restore-keys: |
# ${{ runner.os }}-turbo-

# - uses: pnpm/action-setup@v3
# with:
# version: 8
# run_install: false

# - uses: actions/setup-node@v4
# with:
# node-version: 18
# cache: "pnpm"

# - name: Install dependencies
# run: pnpm install

# - name: Install Playwright Browsers
# run: pnpm exec playwright install chromium

# - name: Build
# run: pnpm build

# - name: Test
# run: pnpm test
name: CI

on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]

jobs:
build:
name: Build and Test
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Cache turbo build setup
uses: actions/cache@v3
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- uses: pnpm/action-setup@v3
with:
version: 8
run_install: false

- uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"

- name: Install dependencies
run: pnpm install

- name: Install Playwright Browsers
run: pnpm exec playwright install chromium

- name: Build
run: pnpm build

- name: Test
run: pnpm test

0 comments on commit 837341d

Please sign in to comment.