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