Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sineverba committed Feb 22, 2023
1 parent 5750ce8 commit beaafdf
Show file tree
Hide file tree
Showing 8 changed files with 463 additions and 161 deletions.
4 changes: 2 additions & 2 deletions .env.bak
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SONAR_TOKEN=YOUR_AUTH_TOKEN_HERE
SONAR_URL=http://localhost:9000
SONAR_LOGIN=YOUR_AUTH_TOKEN_HERE
SONAR_HOST_URL=http://localhost:9000
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.13.0
v18.14.2
11 changes: 10 additions & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ agent:
os_image: ubuntu2004

global_job_config:
env_vars:
- name: SONARSCANNER_VERSION
value: 4.8.0
secrets:
- name: ACCESS_TOKENS

Expand Down Expand Up @@ -55,7 +58,13 @@ blocks:
- name: Sonarcloud
commands:
- npm run cover
- docker run --rm -e SONAR_HOST_URL="https://sonarcloud.io" -e SONAR_LOGIN=$SONAR_TOKEN -v "/home/semaphore/npm-pkg-shortfield:/usr/src" sonarsource/sonar-scanner-cli:4.8.0
- >-
docker run
--rm
-e SONAR_HOST_URL="https://sonarcloud.io"
-e SONAR_LOGIN=$SONAR_TOKEN
-v "/home/semaphore/npm-pkg-shortfield:/usr/src"
sonarsource/sonar-scanner-cli:$SONARSCANNER_VERSION
promotions:
- name: Deploy
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 1.2.0
# Next version
+ Upgrade dependencies

## 1.2.0
+ Refactor Semaphore
+ Upgrade dependencies + Dropped support for Node 10

Expand Down
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
include .env

SONARSCANNER_VERSION=4.8.0

sonar:
docker-compose up sonarscanner
docker run --rm -it \
--name sonarscanner \
-v $(PWD):/usr/src \
-e SONAR_HOST_URL=$(SONAR_HOST_URL) \
-e SONAR_LOGIN=$(SONAR_LOGIN) \
sonarsource/sonar-scanner-cli:$(SONARSCANNER_VERSION)

upgrade:
npx ncu -u
npx browserslist@latest --update-db
npm install
npm audit fix
18 changes: 0 additions & 18 deletions docker-compose.yml

This file was deleted.

0 comments on commit beaafdf

Please sign in to comment.