Bump crypto-js from 4.1.1 to 4.2.0 #248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, workflow_dispatch] | |
env: | |
CI: true | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# Available OS's: https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners | |
os: [ubuntu-20.04, windows-2019] | |
node-version: [16.x, 14.x, 12.x] | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Cache node modules | |
uses: actions/[email protected] | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node${{ runner.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | |
- run: npm ci | |
- run: npm run build | |
- run: npm run test | |
- run: npx prettier --check "src/**" | |
if: runner.os == 'Linux' | |
- run: npm audit --audit-level=moderate | |
if: false | |
- name: Archive code coverage results | |
uses: actions/[email protected] | |
continue-on-error: true | |
with: | |
name: code-coverage-report | |
path: ./packages/*/coverage/ |