Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleshike committed Apr 19, 2024
1 parent 70fb429 commit 7ae9fec
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- uses: volta-cli/action@v4

- run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env
- run: yarn
- name: Publish to Chromatic
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/create-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- uses: volta-cli/action@v4

- run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env
- run: yarn install

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
node-version-file: ".node-version"
cache: "yarn"

- uses: volta-cli/action@v4

- run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env

- name: Install dependencies
Expand Down
20 changes: 15 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,20 @@ jobs:
js-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- name: Checkout branch
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}"
- run: yarn
- run: yarn lint

- name: Setup Yarn
uses: volta-cli/action@v4
run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env

- name: Install dependencies
run: yarn install

- name: Lint
run: yarn lint
1 change: 1 addition & 0 deletions .github/workflows/prepare-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- name: Initialize mandatory git config
uses: fregante/setup-git-user@v1

- uses: volta-cli/action@v4
- run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env

- name: Bump version in package.json
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- name: Initialize mandatory git config
uses: fregante/setup-git-user@v1

- uses: volta-cli/action@v4
- run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env

- name: Bump version in package.json
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version-file: ".node-version"
- uses: volta-cli/action@v4

- run: echo "FONTAWESOME_NPM_AUTH_TOKEN=${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}" > .env
- run: yarn
- run: yarn test

0 comments on commit 7ae9fec

Please sign in to comment.