Skip to content

Commit b891606

Browse files
committed
rework build steps
1 parent 8126776 commit b891606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
registry-url: 'https://registry.npmjs.org'
2828
- name: Install latest NPM
2929
run: npm install -g npm@7
30+
- name: NPM install with caching
31+
uses: bahmutov/npm-install@v1
3032
- name: Set Min Version
3133
uses: thefringeninja/action-minver@2.0.0-preview1
3234
id: version
@@ -40,8 +42,6 @@ jobs:
4042
npm run version -- ${{steps.version.outputs.version}}
4143
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
4244
replace-in-files --string='2.0.0-dev' --replacement=${{steps.version.outputs.version}} packages/*/package.json
43-
- name: NPM install with caching
44-
uses: bahmutov/npm-install@v1
4545
- name: Build
4646
run: npm run build
4747
- name: Lint

0 commit comments

Comments
 (0)