Skip to content

Release

Release #889

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 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
check-latest: true
- run: npm install
name: Install dependencies
- run: ls -all
- run: npm run test
name: Run NPM Test
- run: ls -all
- run: |
rm -rf node_modules
rm -rf package-lock.json
npm prune --omit=dev --omit=peer
name: Remove dev dependencies and appium peer dependencies
- run: ls -all
- run: npm shrinkwrap
name: Create shrinkwrap
- run: ls -all
- run: npm install --only=dev
name: Install dev dependencies for the release
# - run: npx semantic-release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# name: Release