Skip to content

[deps]: Lock file maintenance #397

[deps]: Lock file maintenance

[deps]: Lock file maintenance #397

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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- 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 }}