Skip to content

use node-version: '14' #152

use node-version: '14'

use node-version: '14' #152

Workflow file for this run

name: Build/web-spa
on:
push:
branches:
- master
tags:
- '*'
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install node
uses: actions/setup-node@v2-beta
with:
node-version: '14'
- name: Install Libraries
shell: bash
run: |
npm install -g @quasar/[email protected]
npm install -g cordova
npm install
- name: Build
run: |
quasar build -m spa
- uses: actions/upload-artifact@v4
with:
name: web-spa
path: dist/spa
- name: Build and push
run: |
docker build -t daptin/dadadash:latest .
docker login -u="${{ secrets.DOCKER_USERNAME }}" -p="${{ secrets.DOCKER_PASSWORD }}"
docker push daptin/dadadash:latest
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: |
./dist/spa
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}