Skip to content

Commit

Permalink
iterate on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
David Blass committed May 22, 2024
1 parent c5f0cb7 commit 784b761
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 30 deletions.
13 changes: 9 additions & 4 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,20 @@ inputs:
runs:
using: composite
steps:
- name: Setup Node (${{ inputs.node }})
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node }}

- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node (${{ inputs.node }})
uses: actions/setup-node@v3
- name: Checkout repo
uses: actions/checkout@v3
with:
node-version: ${{ inputs.node }}
fetch-depth: 0

- name: Install dependencies
shell: bash
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup repo
uses: ./.github/actions/setup

Expand All @@ -40,11 +35,6 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup repo
uses: ./.github/actions/setup
with:
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,11 @@ on:
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write

jobs:
update-gh-pages:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup repo
uses: ./.github/actions/setup

Expand All @@ -48,11 +37,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup repo
uses: ./.github/actions/setup

Expand Down

0 comments on commit 784b761

Please sign in to comment.