fix: Improve warning & avoid TypeError on bad YAML 1.1 nodes (fixes #… #529
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: Browsers | |
| on: | |
| - push | |
| - workflow_dispatch | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: { submodules: true } | |
| - uses: actions/setup-node@v4 | |
| with: { node-version: 20 } | |
| - uses: browserstack/github-actions/setup-env@master | |
| with: | |
| username: ${{ secrets.BROWSERSTACK_USERNAME }} | |
| access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | |
| project-name: yaml | |
| - uses: browserstack/github-actions/setup-local@master | |
| with: | |
| local-testing: start | |
| local-identifier: random | |
| - run: npm ci | |
| - run: npm run build:browser | |
| - name: Playground setup | |
| working-directory: ./playground | |
| run: npm ci | |
| - name: Playground build | |
| working-directory: ./playground | |
| run: npm run build | |
| - run: npx http-server site & | |
| working-directory: ./playground | |
| - run: npx browserstack-node-sdk jest | |
| working-directory: ./playground | |
| - uses: browserstack/github-actions/setup-local@master | |
| if: always() | |
| with: | |
| local-testing: stop |