Skip to content

Commit e8c3e2f

Browse files
setup(npm): exclude correct-ts-specifiers (#404)
1 parent 8702a5b commit e8c3e2f

5 files changed

Lines changed: 369 additions & 4045 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -127,43 +127,3 @@ jobs:
127127
node-version-file: ".nvmrc"
128128
- run: npm ci
129129
- run: node --run test
130-
131-
legacy-tests:
132-
name: Run legacy tests
133-
134-
if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}
135-
136-
needs: [get-matrix]
137-
runs-on: ${{ matrix.os }}
138-
139-
strategy:
140-
fail-fast: false
141-
matrix:
142-
node-version: ${{ fromJson(needs.get-matrix.outputs.latest) }}
143-
os:
144-
- macos-latest
145-
- ubuntu-latest
146-
- windows-latest
147-
148-
steps:
149-
- name: Harden the runner (Audit all outbound calls)
150-
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
151-
with:
152-
egress-policy: audit
153-
154-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
155-
with:
156-
persist-credentials: false
157-
show-progress: false
158-
- name: Set up Node.js ${{ matrix.node-version }}
159-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
160-
with:
161-
cache: "npm"
162-
check-latest: true
163-
node-version: ${{ matrix.node-version }}
164-
- run: npm ci
165-
# Codemod has changed its paradigm, but there is still a recipe that uses the old one, which is why we run it alongside it.
166-
# The old paradigm used node to run codemod, which is why we run it on several versions.
167-
# REF: https://codemod.com/blog/new-codemod-cli
168-
- name: Run legacy recipe tests
169-
run: node --run test-legacy

0 commit comments

Comments
 (0)