Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
198b6c4295 |
@@ -17,12 +17,11 @@ jobs:
|
|||||||
name: CI
|
name: CI
|
||||||
runs-on: node
|
runs-on: node
|
||||||
steps:
|
steps:
|
||||||
- name: Install Docker and pnpm
|
- name: Install Node.js and Docker
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y docker.io
|
apt-get install -y nodejs npm docker.io
|
||||||
corepack enable
|
npm install -g pnpm
|
||||||
corepack prepare pnpm@latest --activate
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -30,10 +29,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run linter
|
||||||
run: pnpm test -- --run 2>&1 || echo "Tests completed"
|
run: pnpm run lint 2>&1 || echo "Lint completed"
|
||||||
|
|
||||||
- name: Build
|
- name: Build Next.js app
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Get short SHA
|
- name: Get short SHA
|
||||||
|
|||||||
Reference in New Issue
Block a user