build(deps-dev): bump @babel/traverse from 7.17.3 to 7.23.2 #691
Workflow file for this run
This file contains 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: Build and Test | |
# The event triggers are configured as following: | |
# - on `main` -> trigger the workflow on every push | |
# - on any pull request -> trigger the workflow | |
# This is to avoid running the workflow twice on pull requests. | |
on: | |
push: | |
branches: | |
- main | |
- 3.x | |
pull_request: | |
jobs: | |
install: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 17.x, 18.x, 19.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
uses: GabrielBB/xvfb-action@v1.6 | |
with: | |
run: npm run test:ci | |
env: | |
TEST_BROWSERSTACK: ${{ startsWith(matrix.node-version, '19') }} | |
TEST_PROBE_ONLY: ${{ github.ref != 'refs/heads/main' }} | |
BS_USERNAME: ${{ secrets.BS_USERNAME }} | |
BS_ACCESSKEY: ${{ secrets.BS_ACCESSKEY }} |