Skip to content

Commit

Permalink
fix: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 12, 2020
1 parent 1231117 commit 3ffb1d1
Show file tree
Hide file tree
Showing 5 changed files with 514 additions and 458 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
name: CI
on:
- push
- pull_request

defaults:
run:
shell: bash
- push

jobs:
Test:
Expand All @@ -17,8 +13,8 @@ jobs:
matrix:
os:
- ubuntu-latest
# - macos-latest
# - windows-latest
- macos-latest
- windows-latest
atom_channel: [stable, beta]
steps:
- uses: actions/checkout@v2
Expand All @@ -31,19 +27,15 @@ jobs:
run: |
apm install
- name: Atom Package dependencies
run: |
npm install array-to-txt-file
node -e 'const pkg = require("./package.json"); deps=Array.from(pkg["package-deps"]); const arrayToTxtFile = require("array-to-txt-file"); arrayToTxtFile(deps,"deps.txt", ()=>{});'
cat deps.txt | \
while read dep; do
apm install $dep
done
run: node ./script/install-package-deps.js
- name: Run tests 👩🏾‍💻
run: npm run test

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -52,7 +44,7 @@ jobs:
uses: wagoid/commitlint-github-action@v1
- uses: actions/setup-node@v1
with:
node-version: "14.x"
node-version: "12.x"
- name: Install NPM dependencies
run: |
npm install
Expand All @@ -69,7 +61,7 @@ jobs:
- uses: UziTech/action-setup-atom@v1
- uses: actions/setup-node@v1
with:
node-version: "14.x"
node-version: "12.x"
- name: NPM install
run: npm install
- name: Build and Commit
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"lint": "eslint . --fix",
"test": "atom --test spec",
"clean": "shx rm -rf dist",
"babel": "npm run clean && shx cp -r lib dist && cross-env NODE_ENV=development cross-env BABEL_ENV=development babel dist --out-dir dist",
"dev": "npm run clean && cross-env NODE_ENV=development cross-env BABEL_ENV=production rollup -c -w",
"build": "npm run clean && cross-env NODE_ENV=production cross-env BABEL_ENV=production rollup -c ",
"babel": "npm run clean && shx cp -r lib dist && cross-env NODE_ENV=development cross-env BABEL_KEEP_MODULES=false babel dist --out-dir dist",
"dev": "npm run clean && cross-env NODE_ENV=development cross-env BABEL_KEEP_MODULES=true rollup -c -w",
"build": "npm run clean && cross-env NODE_ENV=production cross-env BABEL_KEEP_MODULES=true rollup -c ",
"build-commit": "build-commit -o dist",
"bump": "ncu -u",
"prepare": "npm run build"
Expand All @@ -32,28 +32,28 @@
},
"devDependencies": {
"@types/atom": "1.40.4",
"@types/dompurify": "2.0.2",
"@types/dompurify": "2.0.3",
"@types/marked": "^1.1.0",
"@types/node": "^14.0.23",
"@types/node": "^14.0.27",
"atom-languageclient": "^0.9.9",
"jasmine": "^3.5.0",
"@types/jasmine": "^3.5.11",
"atom-jasmine3-test-runner": "^4.4.8",
"jasmine": "^3.6.1",
"@types/jasmine": "^3.5.12",
"atom-jasmine3-test-runner": "^5.0.5",
"typescript": "^3.9.7",
"tslib": "^2.0.0",
"tslib": "^2.0.1",
"prettier": "^2.0.5",
"eslint": "7.4.0",
"eslint-config-atomic": "^1.0.0",
"tslint": "6.1.2",
"eslint": "7.6.0",
"eslint-config-atomic": "^1.3.0",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"rollup": "^2.21.0",
"rollup-plugin-atomic": "^1.0.2",
"rollup": "^2.23.1",
"rollup-plugin-atomic": "^1.2.0",
"shx": "^0.3.2",
"cross-env": "^7.0.2",
"@babel/cli": "7.10.5",
"@babel/core": "7.10.5",
"babel-preset-atomic": "latest",
"npm-check-updates": "7.0.2",
"@babel/core": "7.11.1",
"babel-preset-atomic": "^1.0.7",
"npm-check-updates": "7.1.0",
"build-commit": "0.1.1"
},
"activationHooks": [
Expand Down
Loading

0 comments on commit 3ffb1d1

Please sign in to comment.