Use Node Fetch instead of Got #11
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
- run: yarn install --frozen-lockfile | |
- run: yarn run build | |
- name: Run git push | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "earphone-jack" | |
git add --all | |
git commit -m "Build output for commit $GITHUB_SHA" || true | |
git push | |