Skip to content

feat: restrict type of option variables #17

feat: restrict type of option variables

feat: restrict type of option variables #17

Workflow file for this run

name: Tests
on:
push:
branches:
- main
jobs:
tests:
name: Building package
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Caching node_modules
uses: actions/cache@v3
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.19.0'
check-latest: true
cache: 'yarn'
- name: Install dependencies 🔧
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Test package 🔧
run: yarn test