Skip to content

fix: update tests to use node:test... again? #10

fix: update tests to use node:test... again?

fix: update tests to use node:test... again? #10

name: "Test Suite: @nodevu/translate"
on:
pull_request:
paths:
- 'translate/**'
branches:
- main
workflow_dispatch:
workflow_call:
jobs:
tests:
if: github.repository == 'cutenode/nodevu'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [current, lts/*, lts/-1]
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install most recent npm
run: npm install -g npm
- name: Run npm install -w translate
run: npm install -w translate
- name: Run npm test -w translate
run: npm test -w translate