chore(deps): update all non-major dependencies (#197) #893
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 and Deploy π | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
BASE: /${{ github.event.repository.name }}/ | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ποΈ | |
uses: actions/[email protected] | |
- name: Pnpm 𧱠| |
uses: pnpm/[email protected] | |
- name: Node.js β | |
uses: actions/[email protected] | |
with: | |
node-version: latest | |
cache: pnpm | |
- name: Install π§ | |
run: | | |
pnpm i | |
pnpm test | |
pnpm build | |
touch dist/.nojekyll | |
- name: Deploy π | |
uses: JamesIves/[email protected] | |
if: github.ref == 'refs/heads/main' | |
with: | |
folder: dist |