fix: eslint cyclic deps #506
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Node CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Load 1Password Secrets | |
| uses: 1password/load-secrets-action@v2 | |
| with: | |
| export-env: true | |
| env: | |
| OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
| SHT_NPM_TOKEN: '${{ secrets.SECRETS_VAULT }}/SHT_NPM_TOKEN' | |
| - uses: straw-hat-team/github-actions-workflows/nodejs/setup@v1.6.4 | |
| - shell: sh | |
| run: yarn install --immutable | |
| env: | |
| SHT_NPM_TOKEN: ${{ env.SHT_NPM_TOKEN }} | |
| - shell: sh | |
| run: yarn turbo:build | |
| env: | |
| SHT_NPM_TOKEN: ${{ env.SHT_NPM_TOKEN }} | |
| - shell: sh | |
| run: yarn turbo:test:vitest | |
| env: | |
| SHT_NPM_TOKEN: ${{ env.SHT_NPM_TOKEN }} | |
| prettier: | |
| name: Prettier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Load 1Password Secrets | |
| uses: 1password/load-secrets-action@v2 | |
| with: | |
| export-env: true | |
| env: | |
| OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
| SHT_NPM_TOKEN: '${{ secrets.SECRETS_VAULT }}/SHT_NPM_TOKEN' | |
| - uses: straw-hat-team/github-actions-workflows/nodejs/setup@v1.6.4 | |
| - shell: sh | |
| run: yarn install --immutable | |
| env: | |
| SHT_NPM_TOKEN: ${{ env.SHT_NPM_TOKEN }} | |
| - uses: straw-hat-team/github-actions-workflows/nodejs/prettier@v1.6.4 | |
| env: | |
| SHT_NPM_TOKEN: ${{ env.SHT_NPM_TOKEN }} |