291st/.gitea/workflows/build.yml

31 lines
568 B
YAML
Raw Normal View History

2023-07-26 21:11:30 -04:00
name: Build
run-name: ${{ gitea.actor }} is building
on: [push]
jobs:
2023-07-26 21:47:07 -04:00
Dependencies_NPM:
2023-07-26 21:17:56 -04:00
runs-on: Docker
2023-07-26 21:17:30 -04:00
container:
2023-07-26 21:47:07 -04:00
image: node:16
2023-07-26 21:11:30 -04:00
steps:
2023-07-26 21:47:07 -04:00
- name: Checkout Repository
2023-07-26 21:11:30 -04:00
uses: actions/checkout@v3
2023-07-26 21:47:07 -04:00
- 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