Skip to content

Commit

Permalink
change token name to server-token
Browse files Browse the repository at this point in the history
  • Loading branch information
menghif authored and DukeManh committed Apr 12, 2022
1 parent 071407d commit b5cdf7f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
eslint:
uses: Seneca-CDOT/telescope/.github/workflows/eslint-ci.yml@master
secrets:
turborepo-token: ${{ secrets.TURBO_SERVER_TOKEN }}
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}

# Run unit tests on all platforms/versions of node
unit:
uses: Seneca-CDOT/telescope/.github/workflows/unit-tests-ci.yml@master
secrets:
turborepo-token: ${{ secrets.TURBO_SERVER_TOKEN }}
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}

# Run end-to-end tests along with the microservices in docker-compose on Linux
e2e:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/eslint-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ESLint Workflow
on:
workflow_call:
secrets:
turborepo-token:
server-token:
description: 'The Turborepo local server token'
required: true

Expand All @@ -23,7 +23,7 @@ jobs:
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ github.token }}
server-token: ${{ secrets.turborepo-token }}
server-token: ${{ secrets.server-token }}

- name: Install dependencies and run eslint
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Unit Tests Workflow
on:
workflow_call:
secrets:
turborepo-token:
server-token:
description: 'The Turborepo local server token'
required: true

Expand All @@ -27,7 +27,7 @@ jobs:
uses: felixmosh/turborepo-gh-artifacts@v1
with:
repo-token: ${{ github.token }}
server-token: ${{ secrets.turborepo-token }}
server-token: ${{ secrets.server-token }}

- name: Install dependencies and run tests with default env
run: |
Expand Down

0 comments on commit b5cdf7f

Please sign in to comment.