[deps]: Update github/codeql-action action to v3.28.0 #661
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: "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-13 | |
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Setup Node | |
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4 | |
with: | |
node-version: 20 | |
cache-dependency-path: "**/package-lock.json" | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: ${{ matrix.settings.build }} |