🤖 Validating code on 1324/merge #1078
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: VALIDATE | |
run-name: 🤖 Validating code on ${{ github.ref_name }} | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
validate: | |
name: 🤖 Validate | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📁 Checkout code | |
uses: actions/checkout@v4 | |
- name: ⚙️ Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.18' | |
cache: 'yarn' | |
- name: 📦 Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: 📝 Lint | |
run: yarn lint | |
- name: 🏗️ Build | |
run: yarn build | |
- name: 🚦 Test | |
run: yarn test |