Skip to content

Bump @babel/traverse from 7.21.4 to 7.23.2 #199

Bump @babel/traverse from 7.21.4 to 7.23.2

Bump @babel/traverse from 7.21.4 to 7.23.2 #199

Workflow file for this run

---
name: Unit Tests
on:
push:
branches:
- 'main'
pull_request:
defaults:
run:
shell: sh
jobs:
unit_tests:
name: Lint and Test
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache yarn dependencies
id: yarn-cache
uses: actions/cache@v3
with:
path: |
.yarn/cache
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/.yarnrc.yml') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Compile
if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }}
run: yarn install
- name: Unit tests
if: github.ref != 'refs/heads/main'
env:
DEEPL_API_KEY: ${{ secrets.DEEPL_API_KEY }}
MYMEMORY_API_KEY: ${{ secrets.MYMEMORY_API_KEY }}
run: yarn test
- name: Unit tests with coverage
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
DEEPL_API_KEY: ${{ secrets.DEEPL_API_KEY }}
MYMEMORY_API_KEY: ${{ secrets.MYMEMORY_API_KEY }}
with:
coverageCommand: yarn test
debug: true