Skip to content

build(deps): bump eslint from 8.51.0 to 8.52.0 #1630

build(deps): bump eslint from 8.51.0 to 8.52.0

build(deps): bump eslint from 8.51.0 to 8.52.0 #1630

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Linting and Release
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CI: true
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn --frozen-lockfile
- name: Lerna configure
run: |
yarn lerna bootstrap
yarn lerna link
- name: Lint code
run: yarn lint
release:
needs: lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn --frozen-lockfile
- name: Lerna configure
run: |
yarn lerna bootstrap
yarn lerna link
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn run semantic-release