Merge pull request 'ci: run check, tests and build on pull requests' (#14) from ci/check-workflow into main
Reviewed-on: haylan/fastcrw-opencode-websarch#14
This commit was merged in pull request #14.
This commit is contained in:
commit
30a47b33bd
1 file changed
+18
@@ -0,0 +1,18 @@
|
|||||||
|
name: check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run check
|
||||||
|
- run: npm test
|
||||||
|
- run: npm run build
|
||||||
Reference in new issue
Block a user