mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-13 22:07:35 -08:00
52f38df867
* 🔥 Remove unused vars to fix build * 👕 Make unused vars severity conditional
47 lines
815 B
YAML
47 lines
815 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
|
|
|
|
- uses: pnpm/action-setup@v2.2.4
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build
|
|
run: pnpm build
|
|
|
|
- name: Test
|
|
run: pnpm test
|
|
|
|
- name: Test E2E
|
|
run: |
|
|
pnpm cypress:install
|
|
pnpm test:e2e:ci:smoke
|
|
|
|
- name: Lint
|
|
env:
|
|
CI_LINT_MASTER: true
|
|
run: pnpm lint
|