Skip to content

Commit

Permalink
workflow actions modification
Browse files Browse the repository at this point in the history
  • Loading branch information
Number1739 committed Dec 24, 2023
1 parent c36dc6a commit 8b84c84
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 8b84c84

Please sign in to comment.