remove package-lock.json #14
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 bsc bridge | |
on: | |
push: | |
paths: | |
- bridge/**/* | |
pull_request: | |
paths: | |
- bridge/**/* | |
jobs: | |
build-bridge: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- run: yarn install | |
working-directory: ./bridge | |
- run: yarn prettier --check src test | |
working-directory: ./bridge | |
- run: yarn tsc | |
working-directory: ./bridge | |
- run: yarn run coverage | |
working-directory: ./bridge |