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:
parent
cc9ee3f853
commit
cfb81045db
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -24,10 +24,10 @@ jobs:
|
|||||||
${{ runner.os }}-node-
|
${{ runner.os }}-node-
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm i
|
run: npm i
|
||||||
- name: Build NodeJS package
|
|
||||||
run: npm run build
|
|
||||||
- name: Run linters
|
- name: Run linters
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
- name: Build NodeJS package
|
||||||
|
run: npm run build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm run test
|
run: npm run test
|
||||||
npm:
|
npm:
|
||||||
|
@ -8,3 +8,11 @@ _data/simple-icons.json
|
|||||||
|
|
||||||
# JavaScript templates are invalid JavaScript so cannot be formatted.
|
# JavaScript templates are invalid JavaScript so cannot be formatted.
|
||||||
scripts/build/templates/*.js
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user