Skip to content

Commit

Permalink
build: replace pkg with caxa (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Sep 24, 2021
1 parent b3792dc commit 40ab295
Show file tree
Hide file tree
Showing 4 changed files with 391 additions and 9,036 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
node-version: 16
cache: npm
- run: npm ci
- run: npx pkg . --out-path=dist/
- run: npx caxa --input . --output dist/fixtures-server -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/bin/server.js"
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -28,3 +28,13 @@ jobs:
cache: npm
- run: npm ci
- run: npm run test:e2e
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: npm
- run: npm ci
- run: npx caxa --input . --output dist/fixtures-server -- "{{caxa}}/node_modules/.bin/node" "{{caxa}}/bin/server.js"

0 comments on commit 40ab295

Please sign in to comment.