Skip to content

build(deps-dev): bump @babel/preset-react from 7.24.7 to 7.26.3 #1710

build(deps-dev): bump @babel/preset-react from 7.24.7 to 7.26.3

build(deps-dev): bump @babel/preset-react from 7.24.7 to 7.26.3 #1710

name: Typescript checks
on:
push:
branches:
- 'master'
- 'develop'
- 'main'
pull_request:
workflow_dispatch:
jobs:
test-coverage:
name: Generate Test Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch history
run: git fetch
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
# only install dependencies if there was a change in the deps
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install
- name: Test Coverage
run: yarn test:coverage
env:
FORCE_COLOR: 1
SKIP_PREFLIGHT_CHECK: true
REACT_APP_WALLET_VERSION: 0.14.9
- uses: codecov/codecov-action@v4
with:
files: ./coverage/coverage-final.json
fail_ci_if_error: false
verbose: true
flags: coverage
lint:
name: Run Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch history
run: git fetch
- uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
# only install dependencies if there was a change in the deps
# if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install
- name: Lint
run: yarn lint:check