Skip to content

⬆ Bump typescript from 5.3.3 to 5.4.2 (#744) #1008

⬆ Bump typescript from 5.3.3 to 5.4.2 (#744)

⬆ Bump typescript from 5.3.3 to 5.4.2 (#744) #1008

Workflow file for this run

name: Test
on: push
jobs:
install:
name: Install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
lint:
name: Lint
needs: [install]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
- run: npm run lint
build:
name: Build
needs: [install]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
- run: npm run build
test:
name: Test
needs: [install]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: actions/cache@v4
with:
path: node_modules
key: v1/${{ runner.os }}/node-20/${{ hashFiles('yarn.lock') }}
restore-keys: v1/${{ runner.os }}/node-20/
- run: npm install
- run: npm run test:coverage
env:
NYC_REPORTER: lcov
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/