Skip to content

[Fix] add cjs require to exports #1

[Fix] add cjs require to exports

[Fix] add cjs require to exports #1

Workflow file for this run

name: Lint
on:
pull_request:
branches: [main, stable]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Authenticate with private NPM package
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Install modules.
run: yarn install --frozen-lockfile --immutable
- name: Lint code.
run: yarn lint
- name: Prettier code.
run: yarn prettier