made some basic structure changes and made some tests too
Test Workflow / test-and-lint (pull_request) Failing after 23s
Test Workflow / test-and-lint (pull_request) Failing after 23s
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: Test Workflow
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test-and-lint:
|
||||
# Use the label matching your registered runner
|
||||
runs-on: ubuntu-latest
|
||||
# Or specify a custom image directly if your runner supports it
|
||||
container:
|
||||
image: node:24-alpine
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run linter
|
||||
run: npm run lint
|
||||
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
Reference in New Issue
Block a user