mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 12:23:52 +01:00
use clean-install for faster builds
This commit is contained in:
parent
b23a0b07a4
commit
16fc13241f
6 changed files with 770 additions and 5 deletions
2
.github/workflows/build-preview.yml
vendored
2
.github/workflows/build-preview.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- run: npm install
|
||||
- run: npm clean-install
|
||||
- run: npm run dist
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: npm install
|
||||
run: npm clean-install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
|
|
|||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: '.nvmrc'
|
||||
- run: npm install
|
||||
- run: npm clean-install
|
||||
- run: 'for f in `find data/ -type f -not -iname "*.json"`; do echo "::error File $f is not a .json file."; done'
|
||||
- run: npm run lint
|
||||
|
||||
|
|
|
|||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -23,5 +23,5 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm install
|
||||
- run: npm clean-install
|
||||
- run: npm run test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue