Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

chore(deps): update typescript-eslint monorepo to v7 (major) #1202

chore(deps): update typescript-eslint monorepo to v7 (major)

chore(deps): update typescript-eslint monorepo to v7 (major) #1202

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: v16.13.0
- run: corepack enable
- run: yarn install
- run: yarn test
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: v16.13.0
- run: corepack enable
- run: yarn install
- run: npx playwright install --with-deps
- run: yarn test:ct
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
hygiene:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: v16.13.0
- run: corepack enable
- run: yarn install
- run: yarn lint
- run: yarn fmt
prerelease:
runs-on: ubuntu-latest
needs: [test, e2e, hygiene]
if: github.ref == 'refs/heads/main' || startsWith(github.event.pull_request.head.ref, 'renovate') != true
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- uses: actions/setup-node@v3
with:
node-version: v16.13.0
registry-url: https://registry.npmjs.org/
- run: corepack enable
- run: yarn install
- run: echo "PKG_VERSION=$(node ./scripts/get-version.js ${{ github.event.pull_request.head.ref }})" >> $GITHUB_ENV
- run: echo "TAG_NAME=$(node ./scripts/get-tag.js ${{ github.event.pull_request.head.ref }})" >> $GITHUB_ENV
- run: PKG_VERSION=$PKG_VERSION yarn version:pre
- run: yarn build
- run: TAG_NAME=$TAG_NAME yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}