pelias-schema 7.1.0 → 8.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,14 +6,14 @@ jobs:
6
6
  strategy:
7
7
  matrix:
8
8
  os:
9
- - ${{ vars.UBUNTU_VERSION }}
10
- node-version: [16.x, 18.x]
9
+ - ubuntu-22.04
10
+ node-version: [18.x, 20.x, 22.x]
11
11
  es-version: [7.6.1]
12
12
  jdk-version: [oraclejdk11]
13
13
  steps:
14
- - uses: actions/checkout@v2
14
+ - uses: actions/checkout@v4
15
15
  - name: Install node.js ${{ matrix.node-version }}
16
- uses: actions/setup-node@v2-beta
16
+ uses: actions/setup-node@v4
17
17
  with:
18
18
  node-version: ${{ matrix.node-version }}
19
19
  - name: Start elasticsearch ${{ matrix.es-version }} (${{ matrix.jdk-version }})
@@ -6,12 +6,12 @@ jobs:
6
6
  strategy:
7
7
  matrix:
8
8
  os:
9
- - ${{ vars.UBUNTU_VERSION }}
10
- node-version: [16.x, 18.x]
9
+ - ubuntu-22.04
10
+ node-version: [18.x, 20.x, 22.x]
11
11
  steps:
12
- - uses: actions/checkout@v2
12
+ - uses: actions/checkout@v4
13
13
  - name: Install node.js ${{ matrix.node-version }}
14
- uses: actions/setup-node@v2-beta
14
+ uses: actions/setup-node@v4
15
15
  with:
16
16
  node-version: ${{ matrix.node-version }}
17
17
  - name: Run unit tests
@@ -11,11 +11,11 @@ jobs:
11
11
  npm-publish:
12
12
  needs: [unit-tests, integration-tests]
13
13
  if: github.ref == 'refs/heads/master' && github.event_name == 'push'
14
- runs-on: ${{ vars.UBUNTU_VERSION }}
14
+ runs-on: ubuntu-22.04
15
15
  steps:
16
- - uses: actions/checkout@v2
16
+ - uses: actions/checkout@v4
17
17
  - name: Install Node.js
18
- uses: actions/setup-node@v2-beta
18
+ uses: actions/setup-node@v4
19
19
  with:
20
20
  node-version: 20.x
21
21
  - name: Run semantic-release
@@ -29,9 +29,9 @@ jobs:
29
29
  # note: github actions won't run a job if you don't call one of the status check functions, so `always()` is called since it evalutes to `true`
30
30
  if: ${{ always() && needs.unit-tests.result == 'success' && (needs.npm-publish.result == 'success' || needs.npm-publish.result == 'skipped') }}
31
31
  needs: [unit-tests, integration-tests, npm-publish]
32
- runs-on: ${{ vars.UBUNTU_VERSION }}
32
+ runs-on: ubuntu-22.04
33
33
  steps:
34
- - uses: actions/checkout@v2
34
+ - uses: actions/checkout@v4
35
35
  - name: Build Docker images
36
36
  env:
37
37
  DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pelias-schema",
3
- "version": "7.1.0",
3
+ "version": "8.0.0",
4
4
  "author": "pelias",
5
5
  "description": "Elasticsearch schema files and tooling for Pelias",
6
6
  "homepage": "https://github.com/pelias/schema",
@@ -38,5 +38,5 @@ client.indices.create(req, (err, res) => {
38
38
  process.exit(1);
39
39
  }
40
40
  console.log('[put mapping]', '\t', indexName, res, '\n');
41
- process.exit(!!err);
41
+ process.exit(0);
42
42
  });