From 656893711239c17aec465180d604fec7c414ceea Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Fri, 9 Dec 2022 16:54:08 -0700 Subject: [PATCH] chore: try windows again --- .github/workflows/ci-release.yml | 3 +++ .github/workflows/ci.yml | 3 +++ package.json | 6 +++--- test/write.js | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 67ed3c6..6e80aa6 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7afbdb6..9cc149d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/package.json b/package.json index d5daeb1..19db744 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/test/write.js b/test/write.js index 3e2b85d..6fe54a0 100644 --- a/test/write.js +++ b/test/write.js @@ -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() }