Skip to content

feat(rapid-handout): allow partly-payment #856

feat(rapid-handout): allow partly-payment

feat(rapid-handout): allow partly-payment #856

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Cache install
uses: actions/cache@v4
with:
path: ./node_modules/
key: ${{ github.sha }}-install
code_style:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
- name: Retrive install cache
uses: actions/cache@v4
with:
path: ./node_modules/
key: ${{ github.sha }}-install
- name: prettier
run: yarn prettier:check
lint:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
- name: Retrive install cache
uses: actions/cache@v4
with:
path: ./node_modules/
key: ${{ github.sha }}-install
- name: eslint
run: yarn lint
test:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
- name: Retrive install cache
uses: actions/cache@v4
with:
path: ./node_modules/
key: ${{ github.sha }}-install
- name: Unit tests
run: yarn test
type-check:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
- name: Retrive Install Cache
uses: actions/cache@v4
with:
path: ./node_modules/
key: ${{ github.sha }}-install
- name: Type check
run: yarn type-check
build:
runs-on: ubuntu-latest
needs: install
steps:
- uses: actions/checkout@v4
- name: Retrive Install Cache
uses: actions/cache@v4
with:
path: ./node_modules/
key: ${{ github.sha }}-install
- name: Build
run: yarn build