Skip to content

Bump @babel/traverse from 7.20.13 to 7.23.2 #149

Bump @babel/traverse from 7.20.13 to 7.23.2

Bump @babel/traverse from 7.20.13 to 7.23.2 #149

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main]
pull_request:
branches: [main, 'dependabot/*']
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 17.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn
- run: yarn build
- run: yarn test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # better relevancy of analysis
- uses: actions/setup-node@v1
with:
node-version: '16'
- name: Install Dependencies
run: yarn
- name: Run Tests
run: yarn test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # PR information
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16'
- name: Install Dependencies
run: yarn install
- name: Bring up WordPress
run: yarn docker
- name: Wait for DB import
run: |
echo 'pausing: waiting for mysql to come available'
./__tests__/e2e/wait-for-db-import.sh
echo 'un-pausing: mysql is now available'
- name: Run end-to-end test
run: yarn test:e2e
- name: Tear down WordPress
run: yarn docker:down