Skip to content

Commit

Permalink
ci: Github Actions setup with NodeJS set consistently to >= 12.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed May 1, 2020
1 parent 123427a commit 9b6a75d
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- before posting an issue, try chatting on https://gitter.im/pattern-lab/node -->

<!-- before posting an issue, verify you are running at least Node 8 -->
<!-- before posting an issue, verify you are running at least Node 12.12.x -->

I am using Pattern Lab Node `vX.X.X` on `Windows | Mac | Linux`, with Node `vX.X.X`, using a `Gulp | Grunt | Vanilla | Custom` Edition.

Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Continuous Integration
on: [push, pull_request]

jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- name: Check out the source code
uses: actions/checkout@v2

- name: Set up NodeJS
uses: actions/setup-node@v1.4.2
with:
node-version: '>=12.12.0'

- name: Setup the project
run: |
yarn run setup
npx lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core
npx lerna add @pattern-lab/engine-react --scope=@pattern-lab/core
- name: Run Unit Tests
run: yarn run test
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"license": "MIT",
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"test": "tap test/*_tests.js --reporter spec --coverage"
},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/development-edition-engine-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
},
"license": "MIT",
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
}
}
2 changes: 1 addition & 1 deletion packages/development-edition-engine-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"url": "git://github.com/pattern-lab/patternlab-node.git"
},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"dependencies": {
"@pattern-lab/cli": "^5.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/edition-node-gulp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"license": "MIT",
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/edition-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"license": "MIT",
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/edition-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@pattern-lab/uikit-workshop": "^5.9.2"
},
"engines": {
"node": ">=6.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-handlebars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=12.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-liquid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-mustache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-nunjucks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"nunjucks": "^3.2.0"
},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"keywords": [
"Pattern Lab",
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-twig-php/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=8.9"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-twig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"license": "MIT",
"scripts": {},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-underscore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"lint": "eslint **/*.js"
},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/live-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/live-server",
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-tab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lodash": "4.17.15"
},
"engines": {
"node": ">=10.0"
"node": ">=12.12.0"
},
"repository": "https://github.com/pattern-lab/patternlab-node/tree/master/packages/plugin-tab",
"bugs": "https://github.com/pattern-lab/patternlab-node/issues",
Expand Down

0 comments on commit 9b6a75d

Please sign in to comment.