Merge pull request #328 from internxt/bugfix/PB-5218-visual-bug-switc… #617
Workflow file for this run
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: Mobile - Unit Tests | |
| on: | |
| push: | |
| branches: ['**'] | |
| jobs: | |
| build: | |
| # The type of runner that the job will run on | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.20.4] | |
| fail-fast: true | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'yarn' | |
| - run: echo "registry=https://registry.yarnpkg.com/" > .npmrc | |
| - run: echo "@internxt:registry=https://npm.pkg.github.com" >> .npmrc | |
| - run: echo //npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }} >> .npmrc | |
| - run: echo "always-auth=true" >> .npmrc | |
| - name: Install | |
| run: yarn --prefer-offline | |
| - name: Prepare env files | |
| run: yarn run prepare-env | |
| - name: Test | |
| run: yarn run test:unit |