add yarn install and litn #5
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 | |
# Only trigger this script when you push to the master branch | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Download our master branch | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
- run: yarn install | |
- run: yarn lint | |
# Run our deployment command | |
- name: Deploying the static website to gh-pages | |
run: npm run deploy |