-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 1005 Bytes
/
Copy pathci.yml
File metadata and controls
41 lines (32 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
release-gate:
name: Release gate
runs-on: ubuntu-latest
timeout-minutes: 35
steps:
- name: Checkout
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- name: Build app image
run: docker compose --project-name tasktime-tools build app
- name: Install dependencies
run: docker compose --project-name tasktime-tools run --rm app npm ci
- name: Run release gate
run: make release-gate APP_RUN_ENV="-e CI=true -e VITE_SYNC_WORKER_URL=http://127.0.0.1:8787"
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: core-site-contract-${{ github.sha }}
path: artifacts/site-contract.json
if-no-files-found: error
retention-days: 30