forked from projectcaluma/ember-caluma
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.12 KB
/
release.yml
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
42
43
44
45
name: Release
on: workflow_dispatch
jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
workspace:
- "@projectcaluma/ember-core"
- "@projectcaluma/ember-form"
- "@projectcaluma/ember-form-builder"
- "@projectcaluma/ember-testing"
- "@projectcaluma/ember-workflow"
# uncomment if first release is ready
# - "@projectcaluma/ember-distribution"
steps:
- uses: actions/checkout@v2
with:
ref: "main"
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v2
- uses: actions/cache@v2
with:
path: node_modules
key: yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-${{ hashFiles('yarn.lock') }}
yarn-
- name: Install dependencies
run: yarn install
- name: Release package
run: yarn workspace ${{ matrix.workspace }} semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}