fix: input box autofocus regression (#66) #301
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: build & test | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".github/**" | |
- "README.md" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.npm | |
**/node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: install dependencies | |
run: npm ci | |
- name: lint | |
run: npm run lint | |
- name: generate icons | |
run: npm run generate:icons | |
- name: run tests | |
run: npm run test:ci | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
- name: run FOSSA scan | |
uses: fossa-contrib/fossa-action@v1 | |
with: | |
fossa-api-key: ${{ secrets.FOSSA_API_KEY }} |