Skip to content

Commit

Permalink
Use ncc and clean workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Apr 9, 2020
1 parent 1f2ea64 commit 168bf72
Show file tree
Hide file tree
Showing 9 changed files with 27,201 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/dist/** linguist-generated=true
/lib/** linguist-generated=true
/node_modules/** linguist-detectable=false
4 changes: 0 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
# https://github.com/actions/checkout
name: Checkout
uses: actions/checkout@v1
-
# https://github.com/actions/setup-node
name: Set up Node
uses: actions/setup-node@v1
-
name: Setup TS
run: npm install tslint typescript -g
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/release.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
# https://github.com/actions/checkout
name: Checkout
uses: actions/checkout@v1
-
name: Build
run: |
npm install
npm run build
-
name: Install
run: npm ci
Expand Down
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
/.dev
/dist
node_modules/
lib

# Jetbrains
/.idea
/*.iml

# Explicitly not ignoring node_modules so that they are included in package downloaded by runner
!node_modules/

# Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
logs
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ inputs:

runs:
using: 'node12'
main: 'lib/main.js'
main: 'dist/index.js'
Loading

0 comments on commit 168bf72

Please sign in to comment.