chore(deps-dev): bump @types/node from 20.4.8 to 20.11.24 #189
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: | |
# Run GH Actions if push to `master` branch | |
push: | |
branches: | |
- master # ps. change to `main` if ur default branch follow's GitHub | |
# Run GH Actions if merge request to `master` branch | |
pull_request: | |
branches: | |
- master # ps. as above | |
jobs: | |
build: | |
# Use macOS, Ubuntu and Windows to test build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
node-version: [ 16, 18, 20, latest ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: Install deps | |
run: yarn install --frozen-lockfile | |
- name: Test build | |
run: yarn build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: built-on__os_${{ matrix.os }}__nodejs_${{ matrix.node-version }} | |
path: ./.output | |
retention-days: 3 | |
# Authored by Defer. |