Skip to content

Commit

Permalink
feat: adapt for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Loxeris committed May 22, 2024
1 parent 5a2529c commit 931d892
Show file tree
Hide file tree
Showing 15 changed files with 70 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
node_modules
build
dist
public
.github
jest.config.mjs

packages/*/node_modules
packages/*/build
packages/*/dist
packages/*/public
packages/*/.github
packages/*/jest.config.mjs
packages/*/tsconfig.json
packages/*/tsup.config.ts
packages/*/.next
packages/*/.tsup
packages/*/out
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ npm test
End-to-end tests are launched through `cypress` such as:

```
cd packages/diracx-web
npx cypress open --config baseUrl=$DIRACX_URL
```

Expand Down
12 changes: 12 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineConfig } from "cypress";

export default defineConfig({
e2e: {
specPattern: "packages/*/test/e2e/**/*.cy.ts",
supportFile: false,
setupNodeEvents(on, config) {
// implement node event listeners here
},
},
chromeWebSecurity: false,
});
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"scripts": {
"dev": "lerna run dev --parallel",
"test": "lerna run test",
"build": "lerna run build"
"build": "lerna run build",
"lint": "lerna run lint",
"ts-lint": "lerna run ts-lint"
}
}
34 changes: 33 additions & 1 deletion packages/diracx-web-components/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,36 @@ node_modules

# tsup
.tsup
dist
dist

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

# eslint
.eslintcache
4 changes: 3 additions & 1 deletion packages/diracx-web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"scripts": {
"build": "tsup --minify",
"dev": "tsup --watch --sourcemap",
"test": "jest --ci"
"test": "jest --ci",
"lint": "eslint src",
"ts-lint": "tsc -noEmit -incremental"
},
"author": "",
"license": "GPL-3.0",
Expand Down

0 comments on commit 931d892

Please sign in to comment.