Skip to content

Merge pull request #19 from hamid-Ft/hamid-Ft/zustand #13

Merge pull request #19 from hamid-Ft/hamid-Ft/zustand

Merge pull request #19 from hamid-Ft/hamid-Ft/zustand #13

Workflow file for this run

name: ci
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [20]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/[email protected]
with:
node-version: ${{ matrix.node }}
- name: Cache node_modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Run code style check
run: npm run style:all
- name: Run tests
run: npm run test