Skip to content

Commit

Permalink
Add tests & bundle action
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Oct 28, 2020
1 parent b726b39 commit ae258b2
Show file tree
Hide file tree
Showing 38 changed files with 7,757 additions and 6,750 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/action-wait-for-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ jobs:
interval: "5"
url: "https://api.fabscale.cc/v1/status"
expected-response-field: "status"

node-tests:
runs-on: ubuntu-latest
timeout-minutes: 2

steps:
- uses: actions/checkout@v2
- name: Run tests
run: yarn test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ inputs:

runs:
using: "node12"
main: "index.js"
main: "dist/index.js"
Loading

0 comments on commit ae258b2

Please sign in to comment.