Skip to content

Commit

Permalink
feat: update name github action
Browse files Browse the repository at this point in the history
  • Loading branch information
khoilen committed Dec 19, 2024
1 parent ea0ddc9 commit 2316666
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 28 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,28 +51,3 @@ jobs:
with:
category: '/language:${{matrix.language}}'

- name: Audit Dependencies (npm/yarn)
if: matrix.language == 'javascript-typescript'
run: |
echo "Auditing dependencies for vulnerabilities..."
if [ -f "package-lock.json" ]; then
echo "Detected npm project. Running npm audit..."
npm install --audit --prefer-offline
npm audit --json > npm-audit-report.json || true
cat npm-audit-report.json
elif [ -f "pnpm-lock.yaml" ]; then
echo "Detected pnpm project. Running pnpm audit..."
npm install -g pnpm
pnpm install --frozen-lockfile
pnpm audit --json > pnpm-audit-report.json || true
cat pnpm-audit-report.json
elif [ -f "yarn.lock" ]; then
echo "Detected Yarn project. Running yarn audit..."
yarn install --prefer-offline
yarn audit --json > yarn-audit-report.json || true
cat yarn-audit-report.json
else
echo "No recognized lockfile found. Skipping dependency audit."
exit 1
fi
echo "Dependency audit completed."
2 changes: 2 additions & 0 deletions .github/workflows/publish-nt-css.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: 'Publish NT CSS Framework'

on:
push:
branches:
Expand Down
4 changes: 2 additions & 2 deletions apps/nt-stylesheet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nt-stylesheet",
"version": "1.1.9",
"version": "1.1.10",
"description": "",
"packageManager": "[email protected]",
"scripts": {
Expand All @@ -13,7 +13,7 @@
"node": "20"
},
"keywords": [],
"author": "",
"author": "Khoi Le Nguyen",
"license": "MIT",
"type": "module",
"main": "./dist/theme.umd.cjs",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node": "20"
},
"keywords": [],
"author": "",
"author": "Khoi Le Nguyen",
"license": "ISC",
"devDependencies": {
"@nrwl/eslint-plugin-nx": "^19.8.4",
Expand Down

0 comments on commit 2316666

Please sign in to comment.