Deploying feature/issue-1441 #6
Workflow file for this run
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 on various envs | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize # the head branch is updated from the base branch, new commits are pushed to the head branch, or the base branch is changed | |
push: | |
branches: | |
- 'master' | |
- 'develop' | |
- 'release/**' | |
jobs: | |
build: | |
name: build | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [ 20, 22 ] | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
install-command: [ i, ci ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 # https://github.com/actions/checkout/releases/tag/v2.0.0 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d # https://github.com/actions/setup-node/releases/tag/v1.4.4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
npm ${{ matrix.install-command }} | |
- name: Build | |
run: | | |
npm run bundle-all |