diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3bb7cdf8..6d53821a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: diff --git a/.prettierignore b/.prettierignore index 74ccaa93..5ac4ad41 100644 --- a/.prettierignore +++ b/.prettierignore @@ -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