-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating setup-dapr with latest dependencies and practices for gh jav…
…ascript actions (#142) * Updating Node and javascript dependencies to latest LTS using Node v20 Signed-off-by: Paul Yuknewicz <[email protected]> * Updating readme and CI/CD tests to reflect Dapr latest is 1.13.0, not 1.0.0 Signed-off-by: Paul Yuknewicz <[email protected]> * Fixed test* and coverage* run tasks Signed-off-by: Paul Yuknewicz <[email protected]> * Configured eslint Signed-off-by: Paul Yuknewicz <[email protected]> * Fixing eslint errors Signed-off-by: Paul Yuknewicz <[email protected]> * Fixed ESLint errors for expect(error) asserts Signed-off-by: Paul Yuknewicz <[email protected]> * Updating package and dist files now that npm run test and npm run coverage work Signed-off-by: Paul Yuknewicz <[email protected]> * Adding built in support for dapr init Signed-off-by: Paul Yuknewicz <[email protected]> * Add workflow step to initialize Dapr; use environment variables Signed-off-by: Paul Yuknewicz <[email protected]> * Updating action to exclude dapr init for Mac (no docker support) Signed-off-by: Paul Yuknewicz <[email protected]> * Dapr init only in Ubuntu Signed-off-by: Paul Yuknewicz <[email protected]> * Reverting parameter name to `version` to avoid breaking changes Signed-off-by: Paul Yuknewicz <[email protected]> * Clarifying readme Signed-off-by: Paul Yuknewicz <[email protected]> * Update global.env Signed-off-by: Artur Souza <[email protected]> --------- Signed-off-by: Paul Yuknewicz <[email protected]> Signed-off-by: Artur Souza <[email protected]> Co-authored-by: Artur Souza <[email protected]>
- Loading branch information
1 parent
45e34f2
commit 8d98091
Showing
23 changed files
with
43,374 additions
and
9,787 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
lib/ | ||
dist/ | ||
node_modules/ | ||
coverage/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: JavaScript CodeQL Configuration | ||
|
||
paths-ignore: | ||
- node_modules | ||
- dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DAPR_CLI_VERSION: 1.13.0 | ||
DAPR_RUNTIME_VERSION: 1.13.5 | ||
DAPR_DEFAULT_IMAGE_REGISTRY: ghcr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
env: | ||
commonjs: true | ||
es6: true | ||
jest: true | ||
node: true | ||
|
||
globals: | ||
Atomics: readonly | ||
SharedArrayBuffer: readonly | ||
|
||
ignorePatterns: | ||
- "!.*" | ||
- "**/node_modules/.*" | ||
- "**/dist/.*" | ||
- "**/coverage/.*" | ||
- "*.json" | ||
|
||
parser: "@babel/eslint-parser" | ||
|
||
parserOptions: | ||
ecmaVersion: 2023 | ||
sourceType: module | ||
requireConfigFile: false | ||
babelOptions: | ||
babelrc: false | ||
configFile: false | ||
presets: | ||
- jest | ||
|
||
plugins: | ||
- jest | ||
|
||
extends: | ||
- eslint:recommended | ||
- plugin:github/recommended | ||
- plugin:jest/recommended | ||
|
||
rules: | ||
{ | ||
"camelcase": "off", | ||
"eslint-comments/no-use": "off", | ||
"eslint-comments/no-unused-disable": "off", | ||
"i18n-text/no-en": "off", | ||
"import/no-commonjs": "off", | ||
"import/no-namespace": "off", | ||
"no-console": "off", | ||
"no-unused-vars": "off", | ||
"prettier/prettier": "error", | ||
"semi": "off", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Unordered list style | ||
MD004: | ||
style: dash | ||
|
||
# Ordered list item prefix | ||
MD029: | ||
style: one | ||
|
||
# Spaces after list markers | ||
MD030: | ||
ul_single: 1 | ||
ol_single: 1 | ||
ul_multi: 1 | ||
ol_multi: 1 | ||
|
||
# Code block style | ||
MD046: | ||
style: fenced |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
rules: | ||
document-end: disable | ||
document-start: | ||
level: warning | ||
present: false | ||
line-length: | ||
level: warning | ||
max: 80 | ||
allow-non-breakable-words: true | ||
allow-non-breakable-inline-mappings: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.