Skip to content

feat: Implement Auth For Testing #3269

feat: Implement Auth For Testing

feat: Implement Auth For Testing #3269

Workflow file for this run

name: type-check
on:
workflow_dispatch:
pull_request:
jobs:
typescript:
name: Run type check
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Enable Corepack
run: corepack enable
- name: Configure npm authentication
run: |
echo "npmAuthToken: ${{ secrets.NPMJS_READ_RN_PUBKY }}" > .yarnrc.yml
echo "npmScopes:" >> .yarnrc.yml
echo " synonymdev:" >> .yarnrc.yml
echo " npmRegistryServer: https://registry.npmjs.org/" >> .yarnrc.yml
- name: Install Node.js dependencies
run: yarn install || yarn install
- name: Type check
run: yarn tsc:check