Skip to content

build(deps-dev): update eslint to ^8.57.1 #432

build(deps-dev): update eslint to ^8.57.1

build(deps-dev): update eslint to ^8.57.1 #432

Workflow file for this run

name: ⚙🚀
on:
push:
branches: [main, "**.x", next, beta, alpha]
pull_request:
types: [opened, synchronize]
jobs:
test_build:
name: Test and Build ⚙⚛
strategy:
matrix:
os: [ubuntu-latest]
node: [17.x, "lts/*"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.4.0
- name: Use NodeJS ${{ matrix.node }} 📦
uses: actions/setup-node@v2.5.1
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install Dependencies ✨
run: yarn --immutable --check-cache
- name: Run Linter 👨🏻‍💻
run: yarn lint
- name: Run Formatter 💅
run: yarn format
- name: Build Theme 🎁
run: yarn build
release:
name: Release ✨🚀
runs-on: ubuntu-latest
needs: test_build
if: github.event_name == 'push'
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.4.0
with:
fetch-depth: 0
- name: Use NodeJS LTS 📦
uses: actions/setup-node@v2.5.1
with:
node-version: "lts/*"
cache: yarn
- name: Install Dependencies ✨
run: yarn --immutable --check-cache
- name: Install vsce 💻
run: npm install -g vsce
- name: Release 🚀
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: |
yarn build
yarn semantic-release