Skip to content

Fixed some problems related to types resolution #16

Fixed some problems related to types resolution

Fixed some problems related to types resolution #16

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
branches:
- "**"
push:
branches:
- main
jobs:
build_test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
# This uses the same name as the build-action so we can share the caches.
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- run: npm ci
- name: test
run: |
npm run build
npm run test