Skip to content

Commit 7b15614

Browse files
committed
Add fontawesome pro package with github action config
1 parent 7d65a26 commit 7b15614

4 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ jobs:
1313
node-version: '16.x'
1414
cache: 'npm'
1515
- name: Install dependencies
16-
run: npm ci
16+
run: |
17+
npm config set '@fortawesome:registry=https://npm.fontawesome.com/'
18+
npm config set '//npm.fontawesome.com/:_authToken' "${{ secrets.FONTAWESOME_TOKEN }}"
19+
npm ci
1720
- name: Create test build
1821
run: npm run test-build
1922
- name: Cache test build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.DS_Store
22
dist
33
node_modules
4+
.npmrc
45
.parcel-cache
56
ui-assets

package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"homepage": "https://github.com/cdlib/cdlib-ui#readme",
4444
"devDependencies": {
4545
"@faker-js/faker": "^7.6.0",
46+
"@fortawesome/fontawesome-pro": "^6.2.1",
4647
"@frctl/fractal": "^1.5.13",
4748
"@frctl/mandelbrot": "^1.4.0",
4849
"@parcel/optimizer-data-url": "^2.8.0",

0 commit comments

Comments
 (0)