Skip to content

Merge pull request #1 from 7SigmaLLC/rc-updates-1.10 #29

Merge pull request #1 from 7SigmaLLC/rc-updates-1.10

Merge pull request #1 from 7SigmaLLC/rc-updates-1.10 #29

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build || npm run build:simple
- run: npm test -- __tests__/FileContentSearch.test.ts __tests__/PluginManager.test.ts __tests__/MarkdownRenderer.test.ts __tests__/SensitiveDataSecurityScanner.test.ts __tests__/HTMLRenderer.test.ts __tests__/GitIgnoreSecurityScanner.test.ts __tests__/PluginEnabledFileContextBuilder.test.ts __tests__/ExampleUsage.test.ts
# Optional: Publish to npm if version has changed
# - name: Publish to NPM
# if: github.ref == 'refs/heads/main'
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}