This commit is contained in:
@@ -45,3 +45,33 @@ jobs:
|
||||
# Install app dependencies
|
||||
- name: Install app dependencies
|
||||
run: npm install
|
||||
|
||||
# Test wasm library
|
||||
- name: Test wasm library
|
||||
run: |
|
||||
npm run test:wasm
|
||||
npm run test:wasmdoc
|
||||
|
||||
# Build wasm library
|
||||
- name: Build wasm library
|
||||
run: |
|
||||
npm run build:wasm
|
||||
|
||||
# Test application
|
||||
- name: Test application
|
||||
run: |
|
||||
npm test
|
||||
npx cypress run --component
|
||||
|
||||
# Build application
|
||||
- name: Build application
|
||||
run: |
|
||||
npm run build
|
||||
|
||||
# Upload artifact
|
||||
- name: Upload build artifact (for debugging)
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dist
|
||||
path: dist/
|
||||
retention-days: 5
|
||||
|
||||
Reference in New Issue
Block a user