Skip to content

[deps]: Update eslint-plugin-jest to v28 #416

[deps]: Update eslint-plugin-jest to v28

[deps]: Update eslint-plugin-jest to v28 #416

Workflow file for this run

name: "build-test"
on:
pull_request:
defaults:
run:
shell: bash
jobs:
build:
name: Building & testing @bitwarden/sm-action for - ${{ matrix.settings.os }}
runs-on: ${{ matrix.settings.os || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
settings:
- os: macos-12
target: x86_64-apple-darwin
build: |
npm run dist
npm run test
- os: windows-2022
target: x86_64-pc-windows-msvc
build: |
npm run dist
npm run test
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
build: |
npm run dist
npm run test
steps:
- name: Checkout repo
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache-dependency-path: "**/package-lock.json"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Build
run: ${{ matrix.settings.build }}