Skip to content
Open
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
45 changes: 45 additions & 0 deletions .github/workflows/task-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: week13

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24

- name: Install dependencies
run: npm install
working-directory: task-1

- name: Run linter
run: npm run lint
working-directory: task-1

- name: Run tests
run: npm run test
working-directory: task-1

- name: Build app
run: npm run build
working-directory: task-1

- name: Zip build output
run: zip -r build.zip dist
working-directory: task-1

- name: Upload build artifact
uses: actions/upload-artifact@v5
with:
name: build
path: task-1/build.zip
Loading