-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (39 loc) · 1.04 KB
/
release.yaml
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: 'Release'
on:
push:
branches:
- main
paths:
- '.release.json'
jobs:
release_projects:
name: 'release'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: docker-practice/actions-setup-docker@master
timeout-minutes: 12
# Helps with debugging
- name: Show versions
run: |
echo bash --version
bash --version
echo docker --version
docker --version
- name: 'Setup Node'
uses: ./.github/actions/setup-node
- name: 'Install Dependencies'
run: pnpm install --frozen-lockfile
- name: 'Configure Git'
run: |
git config --global user.email "github-actions[bot]@@users.noreply.github.com"
git config --global user.name "GitHub Actions"
- name: 'If new tags, finalize release'
run: |
orbit-cli release publish
env:
GH_TOKEN: ${{ github.token }}