mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
1c98f97e9e
Revert "ci: Start supporting node.js 18 (#4518)"
This reverts commit 9ee292cd17
.
38 lines
667 B
YAML
38 lines
667 B
YAML
name: Test Master
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 30
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [14.x, 16.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
|
|
- name: Install npm and dependencies
|
|
run: npm install -g npm@latest && npm install
|
|
|
|
- name: Build
|
|
run: npm run build --if-present
|
|
|
|
- name: Test
|
|
run: npm run test
|
|
|
|
- name: Lint
|
|
run: npm run lint
|