Skip to content

Merge pull request #272 from dcastil/dependabot/npm_and_yarn/word-wra… #397

Merge pull request #272 from dcastil/dependabot/npm_and_yarn/word-wra…

Merge pull request #272 from dcastil/dependabot/npm_and_yarn/word-wra… #397

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 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Use node_modules cache
uses: actions/cache@v3
with:
path: node_modules
key: yarn-node-16-lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-node-16-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