Skip to content

Commit

Permalink
Update dependencies (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed Mar 23, 2022
1 parent 126069f commit 5796ba4
Show file tree
Hide file tree
Showing 1,331 changed files with 12,713 additions and 69,914 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cla.yml
Expand Up @@ -4,7 +4,7 @@ on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,synchronize]
types: [opened, synchronize]

jobs:
CLAssistant:
Expand All @@ -15,7 +15,7 @@ jobs:
with:
text: ${{ github.event.comment.body }}
regex: '\s*(I have read the CLA Document and I hereby sign the CLA)|(recheckcla)\s*'

- name: "CLA Assistant"
if: ${{ steps.sign-or-recheck.outputs.match != '' || github.event_name == 'pull_request_target' }}
# Alpha Release
Expand All @@ -24,12 +24,12 @@ jobs:
# Generated and maintained by github
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# JFrog organization secret
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_SIGN_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGN_TOKEN }}
with:
path-to-signatures: 'signed_clas.json'
path-to-document: 'https://jfrog.com/cla/'
remote-organization-name: 'jfrog'
remote-repository-name: 'jfrog-signed-clas'
path-to-signatures: "signed_clas.json"
path-to-document: "https://jfrog.com/cla/"
remote-organization-name: "jfrog"
remote-repository-name: "jfrog-signed-clas"
# branch should not be protected
branch: 'master'
branch: "master"
allowlist: bot*
32 changes: 16 additions & 16 deletions .github/workflows/release.yml
@@ -1,19 +1,19 @@
name: 'Release'
name: "Release"
on:
release:
types: published
release:
types: [published]

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Update v2 tag
run: git tag -f v2
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tags: true
force: true
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update v2 tag
run: git tag -f v2
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tags: true
force: true
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup NodeJS
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "14.x"
node-version: "16.x"

# Run action according to the input version
- name: Setup JFrog CLI
Expand Down
6 changes: 6 additions & 0 deletions .husky/pre-commit
@@ -0,0 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm i
npm prune --production
git add node_modules
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -7,7 +7,7 @@ inputs:
default: '2.11.1'
required: false
runs:
using: 'node12'
using: 'node16'
main: 'lib/main.js'
post: 'lib/cleanup.js'
branding:
Expand Down
6 changes: 5 additions & 1 deletion lib/cleanup.js
@@ -1,7 +1,11 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
Expand Down
6 changes: 5 additions & 1 deletion lib/main.js
@@ -1,7 +1,11 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
Expand Down
10 changes: 7 additions & 3 deletions lib/utils.js
@@ -1,7 +1,11 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
Expand Down Expand Up @@ -32,7 +36,7 @@ exports.Utils = void 0;
const core = __importStar(require("@actions/core"));
const exec_1 = require("@actions/exec");
const toolCache = __importStar(require("@actions/tool-cache"));
const fs = __importStar(require("fs-extra"));
const fs = __importStar(require("fs"));
const os = __importStar(require("os"));
const path = __importStar(require("path"));
const semver = __importStar(require("semver"));
Expand Down Expand Up @@ -186,7 +190,7 @@ class Utils {
*/
static runCli(args) {
return __awaiter(this, void 0, void 0, function* () {
let res = yield exec_1.exec('jf', args);
let res = yield (0, exec_1.exec)('jf', args);
if (res !== core.ExitCode.Success) {
throw new Error('JFrog CLI exited with exit code ' + res);
}
Expand Down
105 changes: 105 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5796ba4

Please sign in to comment.