Skip to content

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

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

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

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Repo
uses: actions/checkout@v2
- name: ⎔ Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 15
- name: 📥 Install dependencies
run: yarn install
- name: 🧪 Test package
run: yarn test
release:
name: Release
needs: test
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request'}}
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: ⬇️ Checkout Repo
uses: actions/checkout@v2
- name: 📥 Install dependencies
run: yarn install
- name: 🏗 Build package
run: yarn build
- name: 🚀 Release
uses: cycjimmy/semantic-release-action@v2
id: semantic
with:
semantic_version: 18
extra_plugins: |
@semantic-release/changelog
@semantic-release/git
conventional-changelog-conventionalcommits
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}