Skip to content
name: Install
on:
push:
branches: [ windows-installation ]
pull_request:
branches: [ main ]
jobs:
install-bash:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
- os: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: bash
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: bash
run: sqlx-ts --help
- name: run sqlx-ts version
shell: bash
run: sqlx-ts --version
install-sh:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
- os: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: sh
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: sh
run: sqlx-ts --help
- name: run sqlx-ts version
shell: sh
run: sqlx-ts --version
install-pwsh:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: pwsh
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: pwsh
run: sqlx-ts --help
- name: run sqlx-ts version
shell: pwsh
run: sqlx-ts --version
install-powershell:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install sqlx-ts
shell: PowerShell
run: npm install -g sqlx-ts
- name: run sqlx-ts help
shell: PowerShell
run: sqlx-ts --help
- name: run sqlx-ts version
shell: PowerShell
run: sqlx-ts --version