From faf9359ca738b2ba8c5527973cd9529c69add15e Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 16 Apr 2024 11:10:36 -0700 Subject: [PATCH] remove temlate-oss stuff --- scripts/template-oss/_step-git.yml | 4 ---- scripts/template-oss/_step-node.yml | 31 ----------------------------- scripts/template-oss/_step-test.yml | 3 --- 3 files changed, 38 deletions(-) delete mode 100644 scripts/template-oss/_step-git.yml delete mode 100644 scripts/template-oss/_step-node.yml delete mode 100644 scripts/template-oss/_step-test.yml diff --git a/scripts/template-oss/_step-git.yml b/scripts/template-oss/_step-git.yml deleted file mode 100644 index 329bf5bb..00000000 --- a/scripts/template-oss/_step-git.yml +++ /dev/null @@ -1,4 +0,0 @@ -- name: Support Long Paths - if: matrix.platform.os == 'windows-latest' - run: git config --system core.longpaths true -{{> defaultStepGit }} diff --git a/scripts/template-oss/_step-node.yml b/scripts/template-oss/_step-node.yml deleted file mode 100644 index f15e8698..00000000 --- a/scripts/template-oss/_step-node.yml +++ /dev/null @@ -1,31 +0,0 @@ -- name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: {{#if jobIsMatrix}}$\{{ matrix.node-version }}{{else}}{{ last ciVersions }}{{/if}} - {{#if lockfile}} - cache: npm - {{/if}} -{{#if updateNpm}} -{{#if jobIsMatrix}} -- name: Update Windows npm - # node 12 and 14 ship with npm@6, which is known to fail when updating itself in windows - if: matrix.platform.os == 'windows-latest' && (startsWith(matrix.node-version, '12.') || startsWith(matrix.node-version, '14.')) - run: | - curl -sO https://registry.npmjs.org/npm/-/npm-7.5.4.tgz - tar xf npm-7.5.4.tgz - cd package - node lib/npm.js install --no-fund --no-audit -g ..\npm-7.5.4.tgz - cd .. - rmdir /s /q package -- name: Install npm@7 - if: startsWith(matrix.node-version, '10.') || startsWith(matrix.node-version, '12.') - run: npm i --prefer-online --no-fund --no-audit -g npm@7 -- name: Install npm@latest - if: $\{{ !startsWith(matrix.node-version, '10.') && !startsWith(matrix.node-version, '12.') }} -{{else}} -- name: Install npm@latest -{{/if}} - run: npm i --prefer-online --no-fund --no-audit -g npm@latest -- name: npm Version - run: npm -v -{{/if}} diff --git a/scripts/template-oss/_step-test.yml b/scripts/template-oss/_step-test.yml deleted file mode 100644 index 84b6d549..00000000 --- a/scripts/template-oss/_step-test.yml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Set Tap RC - run: node ./test/fixtures/taprc.js -{{> defaultStepTest }}