Skip to content

Commit

Permalink
ci: remove dagger and and lint and type check
Browse files Browse the repository at this point in the history
  • Loading branch information
Murzbul committed Dec 10, 2023
1 parent 0c88224 commit e9e7835
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 80 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,26 @@ jobs:
- name: Install Dependencies with PNPM
run: pnpm install

- name: Install Dagger CLI
run: cd /usr/local && { curl -L https://dl.dagger.io/dagger/install.sh | sh; cd -; }
- name: Build
run: pnpm build

- name: Release and deploy with Dagger
- name: Type Check
run: pnpm ts-check

- name: Lint Check
run: pnpm lint

- name: Test
run: pnpm test

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: SonarQube Quality Check
uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: dagger run node dagger.mjs
50 changes: 0 additions & 50 deletions dagger.mjs

This file was deleted.

19 changes: 0 additions & 19 deletions deployment.yml

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "2.1.12",
"description": "",
"scripts": {
"dagger": "dagger run node dagger.mjs",
"build": "node rimraf_cpy.mjs && tsc -p tsconfig.json --incremental",
"ci": "npm run cpy-ci && npm run ts-check && npm run lint",
"circular": "madge --circular dist/src/index.js",
Expand Down Expand Up @@ -84,7 +83,7 @@
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@dagger.io/dagger": "^0.9.4",
"@dagger.io/dagger": "0.9.3",
"@shelf/jest-mongodb": "^4.2.0",
"@types/bcrypt": "^5.0.1",
"@types/config": "^0.0.41",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

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

0 comments on commit e9e7835

Please sign in to comment.