Skip to content

chore: Bump @eslint/plugin-kit from 0.2.0 to 0.2.3 #275

chore: Bump @eslint/plugin-kit from 0.2.0 to 0.2.3

chore: Bump @eslint/plugin-kit from 0.2.0 to 0.2.3 #275

Workflow file for this run

name: "tests"
on:
pull_request:
push:
branches:
- master
- beta
jobs:
Test:
runs-on: ubuntu-latest
strategy:
matrix:
node_version: ['lts/*', '*']
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
check-latest: true
- name: Install Dependencies
run: yarn
- name: Run Tests πŸ‘©πŸ½β€πŸ’»
run: yarn run test
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
check-latest: true
- name: Install Dependencies
run: yarn
- name: Build 🧱
run: yarn run build
Lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
check-latest: true
- name: Install Dependencies
run: yarn
- name: Lint ✨
run: yarn run lint
Release:
needs: [Test, Build, Lint]
if: |
(github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta') &&
github.event.repository.fork == false
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
check-latest: true
- name: Install Dependencies
run: yarn
- name: Build πŸ—œοΈ
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
export SEMANTIC_RELEASE_NEXT_VERSION=$(npx semantic-release --no-ci --dry-run | grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+')
echo "Next Version: $SEMANTIC_RELEASE_NEXT_VERSION"
yarn run build
if ! git diff --quiet; then
git config --global user.email "<>"
git config --global user.name "GitHub Actions"
git commit -am "πŸ“š docs [skip ci]"
else
echo "Nothing to commit"
fi
- name: Release πŸŽ‰
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release