1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Rotzbua c50c1b352c
Drop EOL Node 16
Changing the End-of-Life Date for Node.js 16 to September 11th, 2023
https://nodejs.org/en/blog/announcements/nodejs16-eol
2023-09-04 17:06:32 +02:00

37 lines
875 B
YAML

name: Run tests
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
permissions:
contents: read
jobs:
build:
permissions:
checks: write # for coverallsapp/github-action to create new checks
contents: read # for actions/checkout to fetch code
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run tests
run: |
npm run test
# - name: Publish to coveralls.io
# if: ${{ matrix.node-version == 18 }}
# uses: coverallsapp/github-action@v1.1.2
# with:
# github-token: ${{ github.token }}