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

ci: use self-hosted runners for build-dev job #175

Draft
wants to merge 4 commits into
base: main-file-size
Choose a base branch
from
Draft
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
5 changes: 5 additions & 0 deletions .github/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
self-hosted-runner:
# Labels of self-hosted runner in array of string
labels:
- developer-website-arc-prd-runners-adcce
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,26 +81,26 @@ jobs:
run:
shell: bash
needs: [set-state, pre-build-dev]
runs-on: ubuntu-latest
runs-on: developer-website-arc-prd-runners-adcce
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node v16 for Yarn v3
- name: Setup Node v18 for Yarn v3
uses: actions/setup-node@v3
with:
node-version: "16.15.0" # Current LTS version
node-version: "18.12.0" # Current LTS version

- name: Enable Corepack for Yarn v3
run: corepack enable

- name: Install Yarn v3
uses: borales/actions-yarn@v3
uses: borales/actions-yarn@v4
with:
cmd: set version stable

- name: Install Dependencies
uses: borales/actions-yarn@v3
uses: borales/actions-yarn@v4
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
with:
Expand All @@ -118,12 +118,12 @@ jobs:

- name: Clean Cache
if: needs.set-state.outputs.clean_cache == 'true'
uses: borales/actions-yarn@v3
uses: borales/actions-yarn@v4
with:
cmd: clean

- name: Build site
uses: borales/actions-yarn@v3
uses: borales/actions-yarn@v4
with:
cmd: build
env:
Expand Down
Loading