Skip to content

Commit

Permalink
chore: try windows again
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Dec 9, 2022
1 parent ece39c1 commit 6568937
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci-release.yml
Expand Up @@ -113,6 +113,9 @@ jobs:
- name: macOS
os: macos-latest
shell: bash
- name: Windows
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -56,6 +56,9 @@ jobs:
- name: macOS
os: macos-latest
shell: bash
- name: Windows
os: windows-latest
shell: cmd
node-version:
- 14.17.0
- 14.x
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -41,14 +41,14 @@
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
],
"timeout": 600
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.11.0",
"windowsCI": false
"version": "4.11.0"
}
}
2 changes: 1 addition & 1 deletion test/write.js
Expand Up @@ -170,7 +170,7 @@ t.test('mode', t => {

const check = t => {
t.equal(fs.readFileSync(p, 'utf8'), 'ok')
t.equal(fs.statSync(p).mode & 0o777, 0o700)
t.equal(fs.statSync(p).mode & 0o777, process.platform === 'win32' ? 0o666 : 0o700)
fs.unlinkSync(p)
t.end()
}
Expand Down

0 comments on commit 6568937

Please sign in to comment.