Test build workflow
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m10s
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m10s
This commit is contained in:
@@ -1,19 +1,28 @@
|
|||||||
name: Gitea Actions Demo
|
name: Build BAB Application Deployment Artifact
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
run-name: ${{ gitea.actor }} is building an artifact 🚀
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- name: Checkout
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
uses: actions/checkout@v2
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
- name: Setup Node
|
||||||
- name: Check out repository code
|
uses: actions/setup-node@v2
|
||||||
uses: actions/checkout@v3
|
with:
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
node-version: '20.x'
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
- name: Install dependencies
|
||||||
- name: List files in the repository
|
run: npm Install
|
||||||
run: |
|
- name: Install Quasar CLI
|
||||||
ls ${{ gitea.workspace }}
|
run: npm install -g @quasar/cli
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- name: Build Project
|
||||||
|
run: quasar build -m pwa
|
||||||
|
- name: Archive Production Artifact
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: build-artifact
|
||||||
|
path: dist/pwa
|
||||||
|
|||||||
Reference in New Issue
Block a user