Skip to content

Commit

Permalink
added workflow and updated package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rr-codes committed Jun 26, 2021
1 parent b94e4dc commit 70579fc
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@instantish/mack",
"version": "1.0.0",
"description": "",
"description": "Converts Markdown to Slack BlockKit Blocks",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
"scripts": {
Expand All @@ -15,9 +15,12 @@
"posttest": "npm run lint"
},
"keywords": [
"Richard Robinson"
"markdown",
"parser",
"gfm",
"slack"
],
"author": "",
"author": "Richard Robinson",
"license": "ISC",
"dependencies": {
"@slack/types": "^2.1.0",
Expand Down

0 comments on commit 70579fc

Please sign in to comment.