Skip to content

0.0.2

0.0.2 #2

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
IN_CI: "1"
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Cache node modules
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Npm setup
run: npm ci && du -sh node_modules
- name: Test
run: npm run test
- name: Build package
run: npm run build