fix(ci): correct env var name for fontawesome token in ci #14
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
on: | |
push: | |
branches: | |
- main | |
- release/* | |
jobs: | |
lint: | |
name: Lint Code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js v20.11.0 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.11.0' | |
registry-url: https://npm.fontawesome.com/ | |
scope: '@fortawesome' | |
cache: 'npm' | |
- name: Install Node Dependencies | |
run: npm ci | |
env: | |
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.NPM_CONFIG_FONT_AWESOME_TOKEN }} | |
- name: Lint Code with ESLint | |
run: npm run lint | |
- name: Validate TypeScript | |
run: npm run validate |