chore(deps): bump next from 12.3.4 to 13.5.0 #825
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
- stable | |
- 'release/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [16, 18] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Cache node_modules | |
uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-v${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }} | |
- name: Install dependencies | |
run: yarn install | |
- name: Lerna bootstrap | |
run: yarn lerna bootstrap | |
- name: Build | |
run: yarn lerna run build | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
id: tests | |
run: yarn test | |
- name: Coverage report upload | |
if: matrix.node == 'lts/*' | |
uses: codecov/codecov-action@v2 | |
with: | |
files: ./packages/react-celo/coverage/clover.xml,./packages/walletconnect/coverage/clover.xml | |
fail_ci_if_error: true | |
verbose: true | |
# Uncomment the block blow (and the dry-run flag) when | |
# we are decided to use git tags to publish new versions | |
# | |
# - name: NPM Publish | |
# if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | |
# uses: JS-DevTools/npm-publish@v1 | |
# with: | |
# token: TODO:${{ secrets.NPM_TOKEN }} | |
# check-version: true | |
# dry-run: true |