mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-05 10:37:47 +02:00
ci: add action to try to build the dist file (#850)
Tries to compile the single .js file. If the command fails, then the test is marked as a failure.
This commit is contained in:
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
@@ -33,3 +33,15 @@ jobs:
|
||||
node-version: 20
|
||||
- run: npm install
|
||||
- run: npm test
|
||||
build-dist:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node: [18, 20]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
|
||||
Reference in New Issue
Block a user