Fix integration tests for asdf-managed yarn (#549) #535
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: run-lint-and-tests | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: 'Branch' | |
| required: true | |
| default: 'main' | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: git config --global user.email "backportci@users.noreply.github.com " | |
| - run: git config --global user.name "Backport CI" | |
| - run: yarn | |
| - run: yarn build | |
| - run: yarn lint | |
| - run: yarn test | |
| - run: ACCESS_TOKEN=${{ secrets.GH_ACCESS_TOKEN }} yarn test-private |