update packages #437
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: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2.3.4 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "18.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install and Build 🔧 # Install | |
run: | | |
npm install | |
- name: Install and Build 🔧 # Build | |
run: | | |
npm run build | |
- name: Install and Build 🔧 # Test | |
run: | | |
npm run test | |
- name: Deploy 🚀 # Deploy to gh-pages branch | |
uses: JamesIves/github-pages-deploy-action@4.1.5 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: dist # The folder the action should deploy. | |