291st/.gitea/workflows/build.yml
Workflow config file is invalid. Please check your config file: yaml: line 14: found a tab character that violates indentation

28 lines
558 B
YAML

name: Build
run-name: ${{ gitea.actor }} is building
on: [push]
jobs:
Dependencies_NPM:
runs-on: Docker
container:
image: node:16
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Dependencies
run: npm i
- name: Upload Artifacts
if: success()
uses: actions/upload-artifact@v1
with:
name: node_modules
path: node_modules
Build_Node:
runs-on: Docker
container:
image: node:16
steps:
- name: Build
- run: npm run build