Skip to content

Commit

Permalink
♻️ Refactor project (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoe authored Aug 15, 2024
1 parent 32858b4 commit 7f2311c
Show file tree
Hide file tree
Showing 26 changed files with 20,947 additions and 3,566 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

16 changes: 0 additions & 16 deletions .eslintrc.json

This file was deleted.

36 changes: 0 additions & 36 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

46 changes: 0 additions & 46 deletions .github/code_of_conduct.md

This file was deleted.

28 changes: 0 additions & 28 deletions .github/contributing.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ updates:
schedule:
interval: 'monthly'
groups:
all-dependencies:
actions:
patterns:
- '*'
commit-message:
Expand Down
1 change: 0 additions & 1 deletion .github/husky/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions .github/husky/pre-commit

This file was deleted.

5 changes: 0 additions & 5 deletions .github/security.md

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Test updates to meeting-1on1-action

on:
workflow_dispatch:
inputs:
Expand All @@ -11,9 +12,12 @@ on:
default: 'today'
required: false

permissions: read-all

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
Expand Down
6 changes: 6 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

[ -n "$CI" ] && exit 0

npx lint-staged --verbose --allow-empty
echo ""
2 changes: 0 additions & 2 deletions .github/husky/pre-push → .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

[ -n "$CI" ] && exit 0

. "$(dirname "$0")/_/husky.sh"

if [[ $(git status --porcelain -s) != "" ]]; then
echo "\n😵 Uncommitted changes found 😵"
echo "Please \`git add\` and \`git commit\` or \`git stash -u\` them before pushing!\n"
Expand Down
6 changes: 3 additions & 3 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import Meeting from './lib/meeting'
const url = await meeting.start()

setOutput('url', url)
} catch (err) {
if (debug) console.error(err)
} catch (error) {
if (debug) console.erroror(error)

setFailed(err.message)
setFailed(error.message)
}
})()
17,163 changes: 17,151 additions & 12 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 7f2311c

Please sign in to comment.