chore(deps-dev): bump lint-staged from 13.3.0 to 14.0.0 (#64) #39
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: Release | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- run: npm install | |
name: Install dependencies | |
- run: npm run test | |
name: Run NPM Test | |
- run: | | |
rm -rf package-lock.json | |
npm prune --production | |
rm -rf node_modules/appium | |
name: Remove dev dependencies and appium peer dependencies | |
- run: npm shrinkwrap | |
name: Create shrinkwrap | |
- 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 | |