Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installation #181

Closed
wants to merge 10 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions .github/workflows/install-sqlx-ts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
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
Loading