Skip to content

v7

v7 #1605

Workflow file for this run

name: CI-test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g .
- run: rexreplace --version
- run: npx yarn install
- run: npx yarn test-format
- run: npm uninstall -g rexreplace && npm -g install ./ && (which rexreplace || exit 0)
- run: npx yarn test-cli
- run: npx yarn test