Files
filegator/.github/workflows/nodejs.yml
Milos Stojanovic f757fcdec2 Add node 18, 20, and 22 to node matrix on cicd pipeline (#510)
Add node 18, 20, and 22 to node matrix on cicd pipeline
2024-12-12 11:44:49 +01:00

31 lines
644 B
YAML

name: Node
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cypress dependencies
run: sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libnotify-dev libnss3 libxss1 libxtst6 xauth xvfb
- name: npm install, build, and test
run: |
npm install
npm run lint
npm run test:e2e