Skip to content

Merge pull request #289 from dcastil/breaking-feature/285/remove-modu… #425

Merge pull request #289 from dcastil/breaking-feature/285/remove-modu…

Merge pull request #289 from dcastil/breaking-feature/285/remove-modu… #425

Workflow file for this run

name: Test
on:
push:
branches: ['**']
pull_request:
branches: ['**']
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.17.1
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: node_modules
key: yarn-node-18-lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-node-18-lock-
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test --ci --coverage --maxWorkers=2
- run: yarn build
- uses: actions/upload-artifact@v3
with:
name: build-output
path: dist
if-no-files-found: error
- run: yarn test:exports