Skip to content

fix: make seconds as choice in duration unit #210

fix: make seconds as choice in duration unit

fix: make seconds as choice in duration unit #210

Workflow file for this run

name: Pull Request Linter
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
lint-title:
name: Lint pull request title
runs-on: ubuntu-latest
steps:
- name: Lint pull request title
uses: jef/conventional-commits-pr-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
lint-code:
name: πŸ‘οΈ Validate code
runs-on: ubuntu-latest
steps:
- name: πŸ‘€ Checkout Repo
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: 🌈 Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: yarn.lock
- name: πŸ“¦ Install Dependencies
run: yarn install --frozen-lockfile
- name: 🏭 Build project
run: yarn build
- name: 🚦 Check typescript errors
run: npx tsc --noEmit
- name: 🚦 Lint and fix
run: yarn lint
- name: πŸ§ͺ Run tests
run: yarn test