Skip to content

Commit

Permalink
chore: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Glinkis committed Jun 25, 2024
1 parent 8acba5e commit 9c08bd4
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './docs'
path: "./docs"

- name: Deploy to GitHub Pages
id: deployment
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
- uses: actions/checkout@v4

- run: bun install
- run: bun run prettier --check .
- run: bun tsc
- run: bun test
- run: bun run lint
- run: bun run tsc
- run: bun run test
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ notifications:
email: false
node_js:
- node
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
script:
- npm run test && npm run build
- npm run test && npm run build
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"typings": "dist/index.d.ts",
"exports":{
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
Expand All @@ -19,7 +19,7 @@
}
},
"./*": {
"import":{
"import": {
"types": "./dist/*/index.d.mts",
"default": "./dist/*/index.mjs"
},
Expand All @@ -29,16 +29,19 @@
}
}
},
"files": ["dist"],
"files": [
"dist"
],
"scripts": {
"docs": "typedoc --out docs src",
"build": "tsup",
"lint": "prettier --check \"./*.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
"prettier": "prettier --write \"./*.ts\" \"src/**/*.ts\" \"test/**/*.ts\"",
"tsc": "tsc",
"test": "bun test",
"test:watch": "bun test --watch"
},
"pre-commit": "prettier, test",
"pre-commit": "lint, test",
"devDependencies": {
"@happy-dom/global-registrator": "^14.12.3",
"@types/bun": "^1.1.5",
Expand Down Expand Up @@ -75,4 +78,4 @@
"modular",
"utilities"
]
}
}
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"compilerOptions": {
"target": "ES2015",
"module": "Preserve",
"lib": ["es2015", "es2016", "es2017", "dom",],
"lib": ["es2015", "es2016", "es2017", "dom"],
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"noEmit": true
},
"include": ["src", "rollup.config.ts"],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 9c08bd4

Please # to comment.