1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-26 01:00:27 +02:00

Fix publish workflow (#6803)

* Run linters after building code in sanity check for publishing

* Prettier ignore generated files
This commit is contained in:
Eric Cornelissen 2021-10-31 11:38:10 +01:00 committed by GitHub
parent cc9ee3f853
commit cfb81045db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -24,10 +24,10 @@ jobs:
${{ runner.os }}-node-
- name: Install dependencies
run: npm i
- name: Build NodeJS package
run: npm run build
- name: Run linters
run: npm run lint
- name: Build NodeJS package
run: npm run build
- name: Run tests
run: npm run test
npm:

View File

@ -8,3 +8,11 @@ _data/simple-icons.json
# JavaScript templates are invalid JavaScript so cannot be formatted.
scripts/build/templates/*.js
# Generated JavaScript files don't need to be formatted
icons/*.js
icons/*.d.ts
icons.d.ts
icons.js
icons.mjs
index.js