improve buttons block conversion #3
Workflow file for this run
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: Code analysis checks | |
on: [push] | |
env: | |
node-version: 16.x | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Main checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ env.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'yarn' | |
cache-dependency-path: 'yarn.lock' | |
# node install | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
# Validate code linting | |
- name: Code linting | |
run: yarn lint | |
# Validate code prettier | |
- name: Code prettier | |
run: yarn prettier |