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

Bump actions and workflows #83

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ runs:
using: composite
steps:
- name: Setup PNPM
uses: pnpm/action-setup@v2.4.0
uses: pnpm/action-setup@v4
with:
run_install: false
standalone: true
package_json_file: blog/package.json
version: 8

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 19
cache: pnpm
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ concurrency:
cancel-in-progress: true

env:
NODE_OPTIONS: "--max_old_space_size=8192"
NODE_OPTIONS: '--max_old_space_size=8192'

jobs:
typecheck:
name: 🟦 Typescript
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -39,12 +39,12 @@ jobs:
run: pnpm run typecheck
eslint:
name: 👕 Linting
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Tools & Dependencies
uses: ./.github/actions/install
Expand All @@ -58,22 +58,22 @@ jobs:
run: pnpm run lint
sanity:
name: 🧠 Sanity
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: ./.github/actions/sanity
build:
name: 🛠️ Build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
FORCE_COLOR: true
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Tools & Dependencies
uses: ./.github/actions/install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ on:
branches: [master]

env:
NODE_OPTIONS: "--max_old_space_size=8192"
NODE_OPTIONS: '--max_old_space_size=8192'

jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
run: |
SEARCH_JSON=$(cat blog/out/search.json)
echo "::set-output name=search_json::${SEARCH_JSON}"

- name: Deploy search index
uses: fjogeleit/http-request-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Pull Request Labeler"
name: 'Pull Request Labeler'
on:
- pull_request_target

Expand Down
Loading