chore(deps-dev): bump axios from 0.24.0 to 1.6.0 #265
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: Electorrent Release | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
NODE_VERSION: 14.x | |
ELECTRON_IS_DEV: 0 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
testspec: [qbittorrent, rtorrent, transmission, deluge, utorrent] | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: sudo apt-get install xvfb | |
- name: Install nodejs | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'npm' | |
- name: Cache npm modules | |
uses: actions/cache@v2 | |
with: | |
path: | | |
node_modules | |
*/*/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
- name: Cache bower modules | |
uses: actions/cache@v2 | |
with: | |
path: bower.json | |
key: ${{ runner.os }}-${{ hashFiles('bower.json') }} | |
- name: Install npm dependencies | |
run: npm install | |
- name: Build web application | |
run: npm run build | |
- name: Run e2e tests | |
timeout-minutes: 10 | |
run: xvfb-run -a -- npm test -- -g ${{ matrix.testspec }} | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install apt packages | |
run: sudo apt-get update && sudo apt-get install -y graphicsmagick icnsutils | |
if: runner.os == 'Linux' | |
- name: Checkout source code | |
uses: actions/checkout@v2 | |
- name: Install nodejs | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'npm' | |
- name: Cache npm modules | |
uses: actions/cache@v2 | |
with: | |
path: | | |
node_modules | |
*/*/node_modules | |
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | |
- name: Install npm dependencies | |
run: npm install | |
- name: Build distribution | |
run: npm run dist | |
if: github.ref != 'refs/heads/master' | |
- name: Release artifacts | |
if: github.ref == 'refs/heads/master' | |
run: npm run release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |