Skip to content

Commit

Permalink
Merge pull request #1187 from pattern-lab/feature/github-actions
Browse files Browse the repository at this point in the history
Adding initial Github Actions setup
  • Loading branch information
bmuenzenmeyer committed May 7, 2020
2 parents 54f1bb4 + db86acb commit 425954d
Show file tree
Hide file tree
Showing 21 changed files with 47 additions and 59 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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you'd like to see what a front-end project built with Pattern Lab looks like,
![license](https://img.shields.io/github/license/pattern-lab/patternlab-node.svg)
[![Coverage Status](https://coveralls.io/repos/github/pattern-lab/patternlab-node/badge.svg?branch=master)](https://coveralls.io/github/pattern-lab/patternlab-node?branch=master)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
[![node (scoped)](https://img.shields.io/node/v/@pattern-lab/patternlab-node.svg)]()
[![node (scoped)](https://img.shields.io/node/v/@pattern-lab/core.svg)]()
[![Join the chat at Gitter](https://badges.gitter.im/pattern-lab/node.svg)](https://gitter.im/pattern-lab/node)

Docs @ [![Netlify Status](https://api.netlify.com/api/v1/badges/d454dbde-02c5-4bd4-8393-4ab75e862b03/deploy-status)](https://app.netlify.com/sites/patternlab-docs-preview/deploys)
Expand Down
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.3",
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.3"
},
"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
40 changes: 0 additions & 40 deletions packages/uikit-workshop/.github/CONTRIBUTING.md

This file was deleted.

0 comments on commit 425954d

Please sign in to comment.