package: allow node v14 and add to master build matrix

This commit is contained in:
Patrik Oldsberg
2020-09-28 09:59:05 +02:00
parent 17c30eaf3e
commit dad7b96194
10 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [12.x, 14.x]
env:
CI: true
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
node-version: [12.x]
node-version: [12.x, 14.x]
env:
CI: true
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [12.x]
node-version: [12.x, 14.x]
env:
CI: true
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [12.x, 14.x]
env:
CI: true
+3 -1
View File
@@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [12.x, 14.x]
env:
CI: true
@@ -69,12 +69,14 @@ jobs:
# Publishes current version of packages that are not already present in the registry
- name: publish
if: matrix.node-version == '12.x'
run: yarn lerna -- publish from-package --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# Tags the commit with the version in the core package if the tag doesn't exist
- uses: Klemensas/action-autotag@1.2.3
if: matrix.node-version == '12.x'
with:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
package_root: 'packages/core'
+1 -1
View File
@@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
node-version: [12.x]
node-version: [12.x, 14.x]
env:
CI: true
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "root",
"private": true,
"engines": {
"node": "12"
"node": "12 || 14"
},
"scripts": {
"dev": "concurrently \"yarn start\" \"yarn start-backend\"",
+1 -1
View File
@@ -6,7 +6,7 @@
"private": true,
"license": "Apache-2.0",
"engines": {
"node": "12"
"node": "12 || 14"
},
"scripts": {
"build": "backstage-cli backend:build",
@@ -3,7 +3,7 @@
"version": "1.0.0",
"private": true,
"engines": {
"node": "12"
"node": "12 || 14"
},
"scripts": {
"start": "yarn workspace app start",
@@ -5,7 +5,7 @@
"types": "src/index.ts",
"private": true,
"engines": {
"node": "12"
"node": "12 || 14"
},
"scripts": {
"build": "backstage-cli backend:build",