Skip to content

docs: add aramikuto as a contributor for code #1135

docs: add aramikuto as a contributor for code

docs: add aramikuto as a contributor for code #1135

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PNPM_VERSION: 10.5.0
permissions: read-all
jobs:
commitlint:
name: Commit
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
name: Install pnpm
with:
version: ${{ env.PNPM_VERSION }}
- name: Install with pnpm
run: pnpm install --frozen-lockfile
- name: Check commit message
uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1
with:
configFile: commitlint.config.cjs
failOnWarnings: false
helpURL: https://github.com/ducktors/turborepo-remote-cache#how-to-commit
install:
runs-on: ${{ matrix.os }}
name: Install
strategy:
matrix:
node-version: [20.x, 22.x]
os: [ubuntu-latest, macos-latest]
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
name: Checkout
- name: Use Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
- name: Install with npm
run: |
cd ${{ github.workspace }}
mkdir npm-repro
cd npm-repro
npm init -y
npm install turborepo-remote-cache
- name: Install with yarn
run: |
cd ${{ github.workspace }}
mkdir yarn-repro
cd yarn-repro
yarn init -y
yarn add turborepo-remote-cache
- name: Install pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
with:
version: ${{ env.PNPM_VERSION }}
- name: Install with pnpm
run: |
cd ${{ github.workspace }}
mkdir pnpm-repro
cd pnpm-repro
npm init -y
pnpm add turborepo-remote-cache
build:
runs-on: ${{ matrix.os }}
name: Build
strategy:
matrix:
node-version: [20.x, 22.x]
os: [ubuntu-latest]
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
name: Checkout
- name: Use Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
name: Install pnpm
with:
version: ${{ env.PNPM_VERSION }}
- name: Install with pnpm
run: pnpm install
- name: Lint code
run: pnpm lint
- name: Build
run: pnpm build
docker:
name: Test Docker Build
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0
- name: Get package version
id: package-version
uses: martinbeentjes/npm-get-version-action@3cf273023a0dda27efcd3164bdfb51908dd46a5b # main
with:
path: .
- name: Build Docker image
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0
with:
context: .
file: Dockerfile
push: false
load: true
tags: turborepo-remote-cache:test
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
PACKAGE_VERSION=${{ steps.package-version.outputs.current-version}}
- name: Test Docker image
run: |
docker image ls
docker inspect turborepo-remote-cache:test