Skip to content

Commit

Permalink
deps(build): fix vulnerabilities
Browse files Browse the repository at this point in the history
ci(github): update to node v18

fix(ci): remove lerna bootstrap command

sfoo
  • Loading branch information
meganindya committed Mar 20, 2024
1 parent 551e939 commit 50c5b53
Show file tree
Hide file tree
Showing 6 changed files with 22,063 additions and 16,443 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js 16.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'

- name: Install dependencies
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
npm ci
npx lerna bootstrap
rm -rf .npmrc
- name: Build for Production
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js 16.x
- name: Setup Node.js 18x
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'

- name: Install dependencies
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
npm ci
npx lerna bootstrap
rm -rf .npmrc
- name: Run Typescript
Expand All @@ -44,16 +43,15 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js 16.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'

- name: Install dependencies
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
npm ci
npx lerna bootstrap
rm -rf .npmrc
- name: Build for Production
Expand All @@ -70,10 +68,10 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js 16.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'

# - name: Install Cypress dependencies
# run: sudo apt update && sudo apt install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
Expand All @@ -82,7 +80,6 @@ jobs:
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
npm ci
npx lerna bootstrap
rm -rf .npmrc
- name: Run Unit Tests
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@ jobs:
with:
fetch-depth: 0

- name: Setup Node.js 16.x
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'

- name: Install dependencies
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
npm ci
npx lerna bootstrap
rm -rf .npmrc
- name: Lint files
Expand Down
1 change: 0 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"npmClient": "npm",
"useWorkspaces": true,
"version": "4.2.0"
}
Loading

0 comments on commit 50c5b53

Please sign in to comment.