Skip to content

Commit

Permalink
Use hosted fa
Browse files Browse the repository at this point in the history
  • Loading branch information
phndiaye committed Dec 19, 2023
1 parent 99dc703 commit 34485fa
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 34 deletions.
61 changes: 32 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,22 @@ jobs:
if: (!contains(github.ref, 'refs/heads/master') || contains(github.ref, 'refs/tags/v'))
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn --prefer-offline --frozen-lockfile
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
- name: Lint
run: yarn lint:js
- name: Test
run: yarn test:ember
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn --prefer-offline --frozen-lockfile
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
- name: Lint
run: yarn lint:js
- name: Test
run: yarn test:ember
build:
runs-on: ubuntu-latest
needs: test
Expand Down Expand Up @@ -60,26 +63,26 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static/
cname: storybook.upfluence.co
cname: storybook.upfluence.co
release:
name: Release Package
runs-on: ubuntu-20.04
needs: test
if: contains(github.ref, 'refs/tags/v')
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn --prefer-offline --frozen-lockfile
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
- name: Publish
run: |
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> ~/.npmrc
npm publish --access public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '${{ env.NODE_VERSION }}'
cache: 'yarn'
- name: Install Dependencies
run: yarn --prefer-offline --frozen-lockfile
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
- name: Publish
run: |
echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> ~/.npmrc
npm publish --access public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@ember/render-modifiers": "^2.1.0",
"@embroider/macros": "^1.7.1",
"@fortawesome/fontawesome-pro": "^6.4.2",
"@fortawesome/fontawesome-pro": "git+ssh://[email protected]/upfluence/fontawesome-pro.git",
"babel-plugin-debug-macros": "^0.3.1",
"bootstrap": "^3.3.7",
"calculate-cache-key-for-tree": "^2.0.0",
Expand Down
7 changes: 3 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2531,10 +2531,9 @@
minimatch "^3.0.4"
strip-json-comments "^3.1.1"

"@fortawesome/fontawesome-pro@^6.4.2":
version "6.4.2"
resolved "https://npm.fontawesome.com/@fortawesome/fontawesome-pro/-/6.4.2/fontawesome-pro-6.4.2.tgz#1acc12423b4b35885c96423cf896ae73e1b9b85a"
integrity sha512-b7VtzrgoASuCbnWJ1A17Sw3wemaFGukyBk0Y2ks/rgcnhlJ1uzdyv2uM3QbEaq9OgyZAKGJD1Tli6qHRI68zSQ==
"@fortawesome/fontawesome-pro@git+ssh://[email protected]/upfluence/fontawesome-pro.git":
version "6.5.1"
resolved "git+ssh://[email protected]/upfluence/fontawesome-pro.git#2151d30ec8f1c1db594035ee504ea985b4e962c9"

"@gar/promisify@^1.0.1":
version "1.1.2"
Expand Down

0 comments on commit 34485fa

Please sign in to comment.