build(deps): bump @cypress/request and cypress in /examples/hello-world #1515
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JavaScript,TypeScript | |
on: [push,pull_request] | |
jobs: | |
build-test-deploy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 'Free up disk space' | |
run: | | |
# Workaround for https://github.com/actions/virtual-environments/issues/709 | |
df -h | |
sudo apt-get update | |
sudo apt-get remove -y '^dotnet-.*' | |
sudo apt-get remove -y '^llvm-.*' | |
sudo apt-get remove -y 'php.*' | |
sudo apt-get autoremove -y | |
sudo apt-get clean | |
sudo rm -rf "/usr/local/share/boost" | |
sudo rm -rf /usr/share/dotnet/ | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
df -h | |
- name: Pull latest Docker images | |
run: | | |
./src/docker/pull.sh | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.16' | |
- name: Install packages | |
run: | | |
npm ci | |
- name: Build | |
run: | | |
npm run build | |
- name: Lint tests | |
run: | | |
npm run test:lint | |
- name: Node tests | |
run: | | |
npm run test:node | |
- name: Browser tests | |
run: | | |
# Allow writing test/output.html | |
sudo chmod 777 test | |
# To debug locally, run `./test/run.sh -d` | |
./test/run.sh | |
- name: Test building a pipeline | |
run: | | |
cd test/pipelines/median-filter-pipeline | |
node ../../../src/itk-wasm-cli.js build -i itkwasm/emscripten:latest . | |
rm -rf emscripten-build | |
node ../../../src/itk-wasm-cli.js build -i itkwasm/wasi:latest . | |
rm -rf emscripten-build | |
cd - | |
- name: Publish task | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "[email protected]" | |
npx semantic-release |