Skip to content

bump action

bump action #1387

Workflow file for this run

name: 'build-test'
on:
pull_request:
push:
branches-ignore:
- master
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm test
- run: pnpm build
- run: pnpm package
- uses: actions/upload-artifact@v4
with:
name: dist
path: ./dist/
test:
needs: [build]
strategy:
matrix:
os: [ubuntu, macos, windows]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/download-artifact@v4
with:
name: dist
- name: "Install default channel on ${{ matrix.os }}"
uses: ./
- name: "Install stable channel on ${{ matrix.os }}"
uses: ./
with:
edge-version: stable
- name: "Install beta channel on ${{ matrix.os }}"
uses: ./
with:
edge-version: beta
- name: "Install dev channel on ${{ matrix.os }}"
uses: ./
with:
edge-version: dev
- name: "Install canary channel on ${{ matrix.os }}"
uses: ./
with:
edge-version: canary
# Canary channel for linux is not currently supported
if: ${{ matrix.os != 'ubuntu' }}