diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 6719437..1fb8b14 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -1,11 +1,11 @@ name: Build and push -on: - push: - branches-ignore: - - "dependabot/**" - tags: - - v* +on: [] # disable this for now +# push: +# branches-ignore: +# - "dependabot/**" +# tags: +# - v* jobs: build-artifacts: diff --git a/.github/workflows/build-artifact.yml b/.github/workflows/build-artifact.yml new file mode 100644 index 0000000..1fde50d --- /dev/null +++ b/.github/workflows/build-artifact.yml @@ -0,0 +1,28 @@ +name: Build PWA artifact +run-name: ${{ github.actor }} is running +on: [] # disable this for now + +jobs: + build-artifacts: + name: Build and upload pwa artifacts + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Use Node.js 12 + uses: actions/setup-node@v4 + with: + node-version: '12.22.12' + + - name: Install dependencies + run: npm install + + - name: Build PWA + run: npx quasar build -m pwa + + - name: Upload artifact PWA + uses: actions/upload-artifact@v3 + with: + path: dist/pwa/ + name: PWA-${{ github.ref_name }}