Skip to content

chore: update dependency tree #308

chore: update dependency tree

chore: update dependency tree #308

Workflow file for this run

name: Test & release
on:
pull_request:
push:
branches:
- master
jobs:
validate:
name: Build and test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: 'npm'
- name: 📥 Download deps
run: npm ci
- name: ▶️ Run tests
run: npm test
env:
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USER }}
BROWSERSTACK_KEY: ${{ secrets.BROWSERSTACK_KEY }}
- name: 🚀 Release
uses: tradeshift/actions-semantic-release@v1
id: semantic-release
with:
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'master',
'main',
'next',
'next-major',
{name: 'beta', prerelease: true},
{name: 'alpha', prerelease: true}
]
registry: https://npm.pkg.github.com/
npm_publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}