Skip to content
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
40 changes: 0 additions & 40 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,43 +127,3 @@ jobs:
node-version-file: ".nvmrc"
- run: npm ci
- run: node --run test

legacy-tests:
name: Run legacy tests

if: ${{ github.event_name != 'pull_request' || !github.event.pull_request.draft }}

needs: [get-matrix]
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
node-version: ${{ fromJson(needs.get-matrix.outputs.latest) }}
os:
- macos-latest
- ubuntu-latest
- windows-latest

steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
with:
egress-policy: audit

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
show-progress: false
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
cache: "npm"
check-latest: true
node-version: ${{ matrix.node-version }}
- run: npm ci
# Codemod has changed its paradigm, but there is still a recipe that uses the old one, which is why we run it alongside it.
# The old paradigm used node to run codemod, which is why we run it on several versions.
# REF: https://codemod.com/blog/new-codemod-cli
- name: Run legacy recipe tests
run: node --run test-legacy
Loading
Loading