-
Notifications
You must be signed in to change notification settings - Fork 16
Merge pull request #92 from textlint-ja/dependabot/npm_and_yarn/pbkdf... #257
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 ]
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup Node ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: "yarn"
- name: Install
run: yarn install
- name: Build
run: yarn run build
- name: Test
run: yarn test