treetrail-frontend/.forgejo/workflows/build.yaml

32 lines
686 B
YAML
Raw Normal View History

2024-10-19 12:22:57 +02:00
on: [push]
jobs:
2024-10-19 12:29:53 +02:00
build:
2024-10-19 12:22:57 +02:00
runs-on: container
steps:
- uses: actions/checkout@v4
2024-10-19 12:22:57 +02:00
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build package (transpile ts => js)
run: ng build
- name: Build container
2024-10-25 06:09:50 +02:00
uses: actions/buildah-build@v1
with:
image: treetrail-frontend
#tags: foo # v1 ${{ github.sha }}
containerfiles: |
./Containerfile