-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) · 1.16 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
46
47
48
49
on:
push:
branches:
- main
env:
NX_CLOUD_ENCRYPTION_KEY: ${{ secrets.NX_CLOUD_ENCRYPTION_KEY }}
NX_CLOUD_AUTH_TOKEN: ${{ secrets.NX_CLOUD_AUTH_TOKEN }}
NX_VERBOSE_LOGGING: ${{ secrets.NX_VERBOSE_LOGGING }}
NX_SKIP_NX_CACHE: ${{ secrets.NX_SKIP_NX_CACHE }}
NX_TASKS_RUNNER: ${{ secrets.NX_TASKS_RUNNER }}
NX_PERF_LOGGING: ${{ secrets.NX_PERF_LOGGING }}
permissions:
contents: write
actions: read
pull-requests: read
id-token: write
jobs:
build-test-lint:
uses: ./.github/workflows/build-test-lint.yml
secrets: inherit
with:
skip: lint
release:
runs-on: ubuntu-latest
needs:
- build-test-lint
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup
id: setup
uses: ./.github/actions/setup
- name: git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- run: pnpm nx affected -t release --parallel=1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
LEFTHOOK: 0