Merge pull request #189 from textlint-ja/dependabot/npm_and_yarn/exam… #1170
This file contains hidden or 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: test | |
| on: [ push, pull_request ] | |
| env: | |
| CI: true | |
| jobs: | |
| test: | |
| name: "Test on Node.js ${{ matrix.node_version }}" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node_version: [ 18, 20, 22 ] | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: setup Node.js ${{ matrix.node_version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node_version }} | |
| - name: Install | |
| run: npm ci | |
| - name: Test | |
| run: npm test |