Skip to content

Merge pull request #8 from NattapolChan/convert-fft #27

Merge pull request #8 from NattapolChan/convert-fft

Merge pull request #8 from NattapolChan/convert-fft #27

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
build-and-test:
name: Build and Test with Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install Node dependencies
run: HUSKY=0 pnpm install --frozen-lockfile
- name: Validate all commits from PR
if: github.event_name == 'pull_request'
run: pnpm exec commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
- name: Build
run: pnpm build
# - name: Test
# run: pnpm test