Skip to content

docs: Create a guide for testing using tunnels (#2753) #1273

docs: Create a guide for testing using tunnels (#2753)

docs: Create a guide for testing using tunnels (#2753) #1273

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Release
on:
workflow_dispatch:
push:
branches: [ master ]
permissions:
contents: write
pull-requests: write
issues: write
id-token: write # to enable use of OIDC for trusted publishing and npm provenance
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Use Node.js LTS
uses: actions/setup-node@v6.3.0
with:
node-version: lts/*
check-latest: true
- run: npm install --no-package-lock
name: Install dependencies
- run: npm run test
name: Run NPM Test
- run: |
rm -rf node_modules package-lock.json
npm prune --omit=dev --omit=peer --no-package-lock
name: Remove dev dependencies and appium peer dependencies
- run: npm shrinkwrap --omit=dev --omit=peer
name: Create shrinkwrap
# "--no-package-lock" prevent adding dev dependencies in the shrinkwrap
- run: npm install --only=dev --no-package-lock
name: Install dev dependencies for the release
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Release