mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-25 21:03:52 +02:00
add .nvmrc file
This commit is contained in:
parent
fbcb8800a2
commit
b23a0b07a4
5 changed files with 5 additions and 4 deletions
2
.github/workflows/build-preview.yml
vendored
2
.github/workflows/build-preview.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version-file: '.nvmrc'
|
||||
- run: npm install
|
||||
- run: npm run dist
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
2
.github/workflows/deploy-preview.yml
vendored
2
.github/workflows/deploy-preview.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version-file: '.nvmrc'
|
||||
- run: npm install --global netlify-cli@6
|
||||
- run: npm install unzipper@0.10
|
||||
|
||||
|
|
|
|||
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: npm install
|
||||
|
|
|
|||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version-file: '.nvmrc'
|
||||
- run: npm 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
|
||||
|
|
|
|||
1
.nvmrc
Normal file
1
.nvmrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
lts/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue