Skip to content

chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0 #3164

chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0

chore(deps): replace dependency rollup-plugin-terser with @rollup/plugin-terser ^0.1.0 #3164

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
env:
NODE_VERSION: 16.14
jobs:
build:
name: πŸ‘· Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Building
run: npm run build
env:
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Examples - es6
run: cd examples/es6 && npm i && npm run build
- name: Examples - common
run: cd examples/commonjs && npm i
- name: Examples - Management CLI
run: cd examples/managementCli && npm i && npm run build
eslint:
name: πŸͺ₯ ESLint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- run: npm run format-check
- run: npm run lint
gitleaks:
name: πŸ”’ Run Git leaks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Gitleaks
run: npm run leaks
shell: bash
unit-test:
name: πŸ‘” Run Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
version: [12, 14, 16, 18]
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
# Skip post-install scripts here, as a malicious
# script could steal NODE_AUTH_TOKEN.
- name: Install dependencies
run: npm ci --ignore-scripts
env:
CI: true
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_READ_ORG }}
- name: Testing
run: npm test