Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add Windows CI #3416

Open
wants to merge 4 commits into
base: dove
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,22 @@ jobs:
fi
env:
CODECLIMATE_REPO_TOKEN: ${{ secrets.codeclimate }}
build-windows:
runs-on: windows-latest

strategy:
matrix:
node-version: [20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i npm -g
- run: npm install -g codeclimate-test-reporter
- run: npm install
- run: npm test
env:
CI: true
19 changes: 19 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion packages/configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"prepublish": "npm run compile",
"pack": "npm pack --pack-destination ../generators/test/build",
"compile": "shx rm -rf lib/ && tsc && npm run pack",
"test": "NODE_CONFIG_DIR=./test/config mocha --config ../../.mocharc.json --recursive test/**.test.ts test/**/*.test.ts"
"test": "cross-env NODE_CONFIG_DIR=./test/config mocha --config ../../.mocharc.json --recursive test/**.test.ts test/**/*.test.ts"
},
"semistandard": {
"env": [
Expand All @@ -67,6 +67,7 @@
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.6",
"cross-env": "^7.0.3",
"mocha": "^10.2.0",
"shx": "^0.3.4",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"scripts": {
"prepublish": "npm run compile",
"pack": "echo \"not necessary\"",
"test": "echo \"not necessary\"",
"test": "shx echo \"not necessary\"",
"compile": "shx rm -rf lib/ && tsc"
},
"directories": {
Expand Down
Loading