feat: Regex button #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
env: | |
HUSKY: 0 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Pipelines: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
command: ['lint', 'build'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
- name: Enable Yarn Berry | |
run: yarn set version berry | |
- name: Install dependencies | |
run: yarn install | |
- name: Run commands | |
run: yarn ${{ matrix.command }} |