File: .github/workflows/ci.yml

Recommend this page to a friend!
  Packages of ikhsan   jQuery Calx   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: jQuery Calx
Calculate form input values based on formulas
Author: By
Last change:
Date: 3 months ago
Size: 779 bytes
 

Contents

Class file image Download
name: CI on: push: branches: [ main, master ] pull_request: branches: [ main, master ] jobs: test: runs-on: ubuntu-latest strategy: matrix: node-version: [18.x, 20.x, 22.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' - name: Install dependencies run: npm ci - name: Run tests run: npm test -- --testPathIgnorePatterns=performance - name: Build run: npm run build - name: Check build artifacts run: | test -f dist/index.js || exit 1 test -f dist/index.d.ts || exit 1 test -f dist/jquery.calx.js || exit 1