Merge pull request #168 from tillvit/development #287
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: Bundle js | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout master branch | |
uses: actions/checkout@v3 | |
with: | |
ref: master | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- name: Build | |
run: | | |
npm install | |
npm run build | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: dist |