File: .github/workflows/node.js.yml

Recommend this page to a friend!
  Classes of Arturs Sosins   Countly Web SDK   .github/workflows/node.js.yml   Download  
File: .github/workflows/node.js.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Countly Web SDK
Track site accesses and errors the Countly API
Author: By
Last change: removed 12 and added 18 and 20
Date: 7 days ago
Size: 822 bytes
 

Contents

Class file image Download
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Cypress tests on: push: branches: [master, staging] pull_request: branches: [master, staging] jobs: build-and-test: strategy: matrix: node-version: [14.x, 16.x, 18.x, 20.x] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install Node.js uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm install --legacy-peer-deps - name: Run tests run: npm test