-
Notifications
You must be signed in to change notification settings - Fork 34
43 lines (41 loc) · 1.06 KB
/
masterbot.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
name: Master Robot
on:
push:
branches:
- master
- 'prerelease/**'
permissions:
contents: read
jobs:
prerelease:
timeout-minutes: 40
name: Pre-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
runs-on: ubuntu-latest
environment: 'Prerelease'
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
fetch-depth: 0
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
registry-url: 'https://registry.npmjs.org'
node-version-file: '.nvmrc'
- name: Install npm
run: npm i -g npm@10
shell: bash
- run: npm ci
shell: bash
- name: Release
run: |
npm run nx:graph
npm run release:phase1
npm run release:phase2
env:
DEBUG: '*'
IS_PRERELEASE: 'true'