Bump node-gyp from 10.2.0 to 11.0.0 in /giftcard-example #32
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 Giftcard | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- 'giftcard-example/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'giftcard-example/**' | |
jobs: | |
build-giftcard: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'giftcard-example' | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
cache-dependency-path: 'giftcard-example' | |
- name: Build giftcard-example | |
run: npm install |