Replace npm with yarn #68
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: Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
gh-pages-deploy: | |
name: Deploying to Github Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Setup yarn | |
run: yarn set version stable | |
- name: Install packages | |
run: yarn install --immutable | |
- name: Set Creds | |
run: git config user.name "brokiem" && git config user.email "${{ secrets.EMAIL }}" | |
- name: Deploy | |
run: yarn deploy |