Skip to content

chore(deps): update github/codeql-action digest to 8a93837 #8046

chore(deps): update github/codeql-action digest to 8a93837

chore(deps): update github/codeql-action digest to 8a93837 #8046

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x,22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --force
- run: npm run build -- ngx-darkbox-gallery --configuration=production
- run: cp *.md dist/ngx-darkbox-gallery/
- run: cp LICENSE dist/ngx-darkbox-gallery/
- name: Test
run: npm run test:lib:ci
# Upload the build artifacts to GitHub
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: ngx-darkbox-gallery-${{ matrix.node-version }}
path: dist/ngx-darkbox-gallery/