Files
vinted-favs-price/.gitea/workflows/dev.yml
Space-Banane d4fb8a054b
All checks were successful
CI / build-and-publish (push) Successful in 11s
fix: update artifact upload path to include all files in dist directory
2026-02-17 16:58:36 +01:00

37 lines
769 B
YAML

name: CI
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
- run: npm install --only=dev
- name: web-ext lint
run: npx web-ext lint -v
- name: web-ext build
run: npx web-ext build -s . -a dist --overwrite-dest
- name: Upload build artifact
# v4+ not supported on Gitea Actions/Forgejo, use v3 for compatibility
uses: actions/upload-artifact@v3
with:
name: web-ext-build
path: dist/**
- name: Push changes
if: github.event_name == 'push'
run: git push