chore: Update README.md #2849
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: "Build" | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
push: | |
branches: | |
- "**" | |
- "!main" | |
jobs: | |
build: | |
name: Build dist | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: node | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org | |
- name: install react | |
run: npm i react | |
- name: install dependencies | |
run: npm ci | |
- name: lint checks | |
run: npm run lint | |
- name: unit tests | |
run: npm run tests | |
- name: build | |
run: npm run build |