Skip to content

Merge pull request #78 from acgotaku/fix/slider #218

Merge pull request #78 from acgotaku/fix/slider

Merge pull request #78 from acgotaku/fix/slider #218

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
- name: Set node version
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Build
run: pnpm build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
- name: Set node version
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Lint
run: pnpm lint
- name: Check formatting
run: pnpm format
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.5.0
- name: Set node version
uses: actions/setup-node@v3
with:
node-version: '16.x'
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Unit test
run: pnpm test