Skip to content

Bump ansi-regex from 5.0.0 to 5.0.1 in the npm_and_yarn group #278

Bump ansi-regex from 5.0.0 to 5.0.1 in the npm_and_yarn group

Bump ansi-regex from 5.0.0 to 5.0.1 in the npm_and_yarn group #278

Workflow file for this run

name: Build and Lint
on:
push:
branches: [main]
pull_request:
jobs:
build-lint:
name: Build and Lint
env:
INFURA_PROJECT_ID: ${{ secrets.INFURA_PROJECT_ID }}
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Install Corepack via Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Yarn
run: corepack enable
- name: Install Node.js ${{ matrix.node-version }} and restore Yarn cache
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn --immutable
- run: yarn lint
- name: Ensure demo build script works
run: yarn demo --all
- name: Validate RC changelog
if: ${{ startsWith(github.head_ref, 'release/') }}
run: yarn auto-changelog validate --rc
- name: Validate changelog
if: ${{ !startsWith(github.head_ref, 'release/') }}
run: yarn auto-changelog validate
all-jobs-pass:
name: All jobs pass
runs-on: ubuntu-20.04
needs:
- build-lint
steps:
- run: echo "Great success!"