1
0
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:
Jeff Ching
2023-11-06 10:35:45 -08:00
committed by GitHub
parent 910801217b
commit ca61f372ac

View File

@@ -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