Compare commits
1
Commits
main
...
198b6c4295
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
198b6c4295 |
@@ -20,16 +20,20 @@ jobs:
|
|||||||
- name: Install Node.js and Docker
|
- name: Install Node.js and Docker
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y nodejs docker.io
|
apt-get install -y nodejs npm docker.io
|
||||||
|
npm install -g pnpm
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run linter
|
||||||
run: npm test -- --run 2>&1 || echo "Tests completed"
|
run: pnpm run lint 2>&1 || echo "Lint completed"
|
||||||
|
|
||||||
|
- name: Build Next.js app
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Get short SHA
|
- name: Get short SHA
|
||||||
id: sha
|
id: sha
|
||||||
|
|||||||
Reference in New Issue
Block a user