Skip to content

feat!: Remove all uses of CJS, add named Flagsmith export #309

feat!: Remove all uses of CJS, add named Flagsmith export

feat!: Remove all uses of CJS, add named Flagsmith export #309

Workflow file for this run

name: Unit/Integration Tests
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
push:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: "18.x"
- name: cache node modules
uses: actions/cache@v4
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ hashFiles('package-lock.json') }}
npm-
- run: npm ci
- run: npm test
env:
CI: true