Skip to content

chore(deps): update eslint plugins #382

chore(deps): update eslint plugins

chore(deps): update eslint plugins #382

name: Test and Build
on:
pull_request:
branches: [main, 'release/*']
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Use build cache
id: cache
uses: actions/cache@v3
with:
path: dist
key: ${{ hashFiles('./yarn.lock', './src/**', './rollup.config.js', './jest.config.js') }}
- name: Create a new build
if: steps.cache.outputs.cache-hit != 'true'
run: |
yarn install --frozen-lockfile
yarn test
yarn build