Skip to content

Switch to rollup and github actions #1

Switch to rollup and github actions

Switch to rollup and github actions #1

---
name: Build and Test
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ad59c2e03af9f78977643cc86d8d3e3c6c913c427f24c6522fb6f1410c6a5aa6
with:
coverageCommand: npm test