-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix validate pipeline * fix typos in readme and improve example * run validate pipeline on all branches * checkout projetct in validate flow * install deps * run all test workflows on all branches * simplify aws action * simplify linode action * restructure project and bump vulnerable node fetch version Signed-off-by: Nico Braun <[email protected]>
- Loading branch information
Showing
22 changed files
with
441 additions
and
213 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
tab_width = 4 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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
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,21 +1,17 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
on: push | ||
|
||
jobs: | ||
use_s3cmd: | ||
runs-on: ubuntu-latest | ||
|
||
name: Validate Project | ||
steps: | ||
- name: Build dist | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
npm i | ||
mv dist/index.js old | ||
npm run build | ||
if cmp --silent -- old dist/index.js; then | ||
exit 0 | ||
else | ||
exit 1 | ||
fi | ||
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,2 +1,4 @@ | ||
node_modules | ||
.vscode | ||
.s3cfg | ||
/assets/test-results/* | ||
!/assets/test-results/.gitkeep |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
name: 'Use S3cmd' | ||
description: 'Use S3cmd cli to interact with s3 object storage.' | ||
name: "Use S3cmd" | ||
description: "Use S3cmd cli to interact with s3 object storage" | ||
branding: | ||
icon: 'award' | ||
color: 'green' | ||
icon: "award" | ||
color: "green" | ||
inputs: | ||
provider: | ||
description: 'config provider to make it easier to use the cli as action' | ||
default: 'linode' | ||
description: "config provider to make it easier to use the cli as action" | ||
default: "linode" | ||
required: false | ||
region: | ||
description: 's3 region' | ||
access_key: | ||
description: 's3 access key' | ||
description: "s3 region (default region depends on the provider)" | ||
required: false | ||
access_key: | ||
description: "s3 access key" | ||
required: true | ||
secret_key: | ||
description: 's3 secret key' | ||
secret_key: | ||
description: "s3 secret key" | ||
required: true | ||
runs: | ||
using: 'node12' | ||
main: 'dist/index.js' | ||
using: "node12" | ||
main: "dist/index.js" |
File renamed without changes.
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,14 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="./style.css"> | ||
</head> | ||
<body> | ||
<h1>Test</h1> | ||
<script src="./main.js"></script> | ||
</body> | ||
</html> |
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 @@ | ||
console.log('foo') |
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,8 @@ | ||
html, body { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
body { | ||
background: pink; | ||
min-height: 100vh; | ||
} |
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.