Speed up requiring index.js
file (#249)
#100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: broccoli-svg-optimizer CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
NODE_VERSION: '16' | |
jobs: | |
lint_and_test: | |
name: Lint and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '${{ env.NODE_VERSION }}' | |
cache: 'yarn' | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint and test | |
working-directory: packages/broccoli-svg-optimizer | |
run: | | |
yarn lint | |
yarn test |