Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 243ab67

Browse files
authoredFeb 17, 2023
Update build.yml
1 parent 1214b89 commit 243ab67

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed
 

‎.github/workflows/build.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,33 +15,27 @@ jobs:
1515
name: Node ${{ matrix.node_version }} on ${{ matrix.os }}
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919
with:
2020
fetch-depth: 0
2121
- name: Build Reason
2222
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
2323
- name: Setup Node.js environment
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v3
2525
with:
2626
node-version: ${{ matrix.node_version }}
2727
registry-url: 'https://registry.npmjs.org'
2828
- name: Install latest NPM
2929
run: npm install -g npm@9
30-
- name: NPM install with caching
31-
uses: bahmutov/npm-install@v1
3230
- name: Set Min Version
33-
uses: thefringeninja/action-minver@2.0.0-preview1
31+
uses: Stelzi79/action-minver@3.0.1
3432
id: version
3533
with:
3634
minimum-major-minor: 2.0
3735
tag-prefix: v
3836
- name: Build Version
3937
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
4539
- name: Build
4640
run: npm run build
4741
- name: Lint

0 commit comments

Comments
 (0)
Please sign in to comment.