chore: adding test and release (dry-run) automation to project #8
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: Test | |
on: | |
push: | |
branches: | |
master | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: macos-latest # use mac so dmg tests can run | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install deps and audit | |
uses: ./.github/actions/pnpm | |
- name: Install pnpm dependencies for pnpm-demo test | |
run: cd pkg/node-modules/pnpm-demo/ && pnpm install | |
- name: Install npm dependencies for npm-demo test | |
run: cd pkg/node-modules/npm-demo/ && npm install | |
- name: Test | |
run: make test | |
- name: Build | |
run: make build-all |