chore: release eslint-plugin-import-x #817
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
ci: | |
name: Lint and Test with Node.js ${{ matrix.node }} and ESLint ${{ matrix.eslint }} on ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
node: | |
- 18 | |
- 20 | |
- 22 | |
eslint: | |
- 8.56 | |
- 8 | |
- 9 | |
include: | |
- executeLint: true | |
node: 20 | |
os: ubuntu-latest | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Setup Node.js ${{ matrix.node }} | |
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: Install ESLint ${{ matrix.eslint }} | |
if: ${{ matrix.eslint != 9 }} | |
run: | | |
yarn add -D eslint@${{ matrix.eslint }} eslint-plugin-unicorn@56 | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Build and Test | |
run: yarn run-s test-compiled test | |
- name: Lint | |
run: yarn lint | |
if: ${{ matrix.executeLint }} | |
env: | |
PARSER_NO_WATCH: true | |
- name: Codecov | |
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |