@datarailsshared/dr_renderer 1.3.10-27.merge → 1.3.14

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.
@@ -5,11 +5,9 @@ on:
5
5
  pull_request:
6
6
  branches:
7
7
  - 'master'
8
- # Run on merged PRs and direct pushes to master or DEVOPS-239-GH-Actions
9
8
  push:
10
9
  branches:
11
10
  - 'master'
12
- - 'DEVOPS-239-GH-Actions'
13
11
 
14
12
  concurrency:
15
13
  group: '${{ github.ref }}-${{ github.workflow }}'
@@ -21,11 +19,9 @@ jobs:
21
19
  uses: datarails/dr_github_reusable/.github/workflows/npm-build-publish.yml@main
22
20
  with:
23
21
  access_level: 'public'
24
- branch_postfix: true
22
+ branch_postfix: false
25
23
  main_branch: 'master'
26
- runner: ${{ vars.GITHUB_RUNNER || 'datarails-dev' }}
27
- # Skip publishing for PRs (only run tests)
28
- skip_publish: ${{ github.event_name != 'pull_request' }}
24
+ skip_publish: ${{ github.event_name == 'pull_request' }}
29
25
  secrets:
30
26
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
31
27
  SSH_PRIVATE_KEY: ${{ secrets.GITHUB_PRIVATE_KEY }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/dr_renderer",
3
- "version": "1.3.10-27.merge",
3
+ "version": "1.3.14",
4
4
  "description": "DataRails charts and tables renderer",
5
5
  "keywords": [
6
6
  "datarails",
@@ -27,8 +27,8 @@ function buildChartSeriesFromPivotInputOnly(input, actuals, forecast, midMonthOf
27
27
 
28
28
  const data = filtered.map(item => ({
29
29
  y: item.Amount,
30
- name: item.Reporting_Month,
31
- initialName: item.Reporting_Month,
30
+ name: item['Reporting Month'],
31
+ initialName: item['Reporting Month'],
32
32
  type: item.Scenario,
33
33
  })).sort((a, b) => new Date(a.name) - new Date(b.name));
34
34