deps(dev): update dependency @types/react to v18.3.10 #1325
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: CI | |
# Events that trigger this workflow | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Lint source code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout π₯ | |
uses: actions/checkout@v3.6.0 | |
- name: Setup Node πΏ | |
uses: actions/setup-node@v3.8.2 | |
with: | |
node-version: 14 | |
cache: 'npm' | |
# Remove, when setup-node action supports specifying the node version | |
- name: Install npm v7 β¬ | |
run: npm install --global npm@v7 | |
- name: Install development dependencies π | |
run: npm ci | |
- name: Check code style 𧽠| |
run: npm run style:ci | |
- name: Run Linter π | |
run: npm run lint | |
build: | |
name: Build app | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout π₯ | |
uses: actions/checkout@v3.6.0 | |
- name: Setup Node πΏ | |
uses: actions/setup-node@v3.8.2 | |
with: | |
node-version: 14 | |
cache: 'npm' | |
# Remove, when setup-node action supports specifying the node version | |
- name: Install npm v7 β¬ | |
run: npm install --global npm@v7 | |
- name: Install development dependencies π | |
run: npm ci | |
- name: Build application π οΈ | |
run: npm run build | |
- name: Upload build artifact π€ | |
uses: actions/upload-artifact@v3.2.1 | |
with: | |
name: build-${{ github.run_number }} | |
path: build/ | |
retention-days: 7 |