File tree 1 file changed +4
-10
lines changed
1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -15,33 +15,27 @@ jobs:
15
15
name : Node ${{ matrix.node_version }} on ${{ matrix.os }}
16
16
steps :
17
17
- name : Checkout
18
- uses : actions/checkout@v2
18
+ uses : actions/checkout@v3
19
19
with :
20
20
fetch-depth : 0
21
21
- name : Build Reason
22
22
run : " echo ref: ${{github.ref}} event: ${{github.event_name}}"
23
23
- name : Setup Node.js environment
24
- uses : actions/setup-node@v2
24
+ uses : actions/setup-node@v3
25
25
with :
26
26
node-version : ${{ matrix.node_version }}
27
27
registry-url : ' https://registry.npmjs.org'
28
28
- name : Install latest NPM
29
29
run : npm install -g npm@9
30
- - name : NPM install with caching
31
- uses : bahmutov/npm-install@v1
32
30
- name : Set Min Version
33
- uses : thefringeninja /action-minver@2 .0.0-preview1
31
+ uses : Stelzi79 /action-minver@3 .0.1
34
32
id : version
35
33
with :
36
34
minimum-major-minor : 2.0
37
35
tag-prefix : v
38
36
- name : Build Version
39
37
run : |
40
- npm install --global replace-in-files-cli
41
- echo "MINVERVERSIONOVERRIDE=${{steps.version.outputs.version}}" >> $GITHUB_ENV
42
- npm run version -- ${{steps.version.outputs.version}}
43
- replace-in-files --regex='\/(v?((\d+)\.(\d+)(\.(\d+))?)(?:-([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?(?:\+([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?)' --replacement=/${{steps.version.outputs.version}} packages/core/src/configuration/Configuration.ts
44
- replace-in-files --string='2.0.0-dev' --replacement=${{steps.version.outputs.version}} packages/*/package.json
38
+ npm run version ${{steps.version.outputs.version}} --workspaces
45
39
- name : Build
46
40
run : npm run build
47
41
- name : Lint
You can’t perform that action at this time.
0 commit comments