Skip to content

Commit

Permalink
Chore: test turbo params (#26038)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jun 27, 2022
1 parent d1928fc commit 9f8d3d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,15 @@ jobs:
with:
repo-token: ${{ secrets.RC_TURBO_GH_TOKEN }}
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

- name: Lint
run: yarn lint --api="http://127.0.0.1:9080"
run: yarn lint --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team='rc'

- name: Translation check
run: yarn turbo run translation-check --api="http://127.0.0.1:9080"
run: yarn turbo run translation-check --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team='rc'

- name: TS typecheck
run: yarn turbo run typecheck --api="http://127.0.0.1:9080"
run: yarn turbo run typecheck --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team='rc'

- name: Reset Meteor
if: startsWith(github.ref, 'refs/tags/') == 'true' || github.ref == 'refs/heads/develop'
Expand Down Expand Up @@ -253,10 +252,9 @@ jobs:
with:
repo-token: ${{ secrets.RC_TURBO_GH_TOKEN }}
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

- name: Unit Test
run: yarn testunit --api="http://127.0.0.1:9080"
run: yarn testunit --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team='rc'

- name: Restore build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -413,13 +411,12 @@ jobs:
with:
repo-token: ${{ secrets.RC_TURBO_GH_TOKEN }}
server-token: ${{ secrets.TURBO_SERVER_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}

- name: yarn install
run: yarn

- name: Unit Test
run: yarn testunit --api="http://127.0.0.1:9080"
run: yarn testunit --api="http://127.0.0.1:9080" --token="${{ secrets.TURBO_SERVER_TOKEN }}" --team='rc'

- name: Restore build
uses: actions/download-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/no-new-js-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: ggazzo/no-js-action@1.0.3
- uses: ggazzo/no-js-action@1.0.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9f8d3d7

Please sign in to comment.