Skip to content

Improve seeking in soundcloud player #53

Improve seeking in soundcloud player

Improve seeking in soundcloud player #53

Workflow file for this run

name: CI/CD
on:
pull_request: {}
push:
branches:
- main
tags:
- v*.*.*
jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Read .tool-versions
id: versions
uses: marocchino/tool-versions-action@v1
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: ${{ steps.versions.outputs.pnpm }}
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodejs }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: make typecheck
formatting:
name: Formatting
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Read .tool-versions
id: versions
uses: marocchino/tool-versions-action@v1
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: ${{ steps.versions.outputs.pnpm }}
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodejs }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Typecheck
run: make formatting
build:
name: Build
runs-on: macos-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Read .tool-versions
id: versions
uses: marocchino/tool-versions-action@v1
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: ${{ steps.versions.outputs.pnpm }}
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodejs }}
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Set version
if: startsWith(github.ref, 'refs/tags/')
run: pnpm version --no-git-tag-version --new-version "${GITHUB_REF:11}"
- name: Build renderer
run: make build packages
env:
NODE_OPTIONS: --openssl-legacy-provider
- name: Build Electron app
run: make app
- name: Upload app
uses: actions/upload-artifact@v3
with:
name: app
path: bundle/NTS Desktop-*.dmg
release:
name: Release
needs:
- typecheck
- formatting
- build
runs-on: macos-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Check out
uses: actions/checkout@v3
- name: Download app
uses: actions/download-artifact@v3
with:
name: app
path: bundle
- name: Release
uses: softprops/action-gh-release@v1
with:
files: bundle/NTS Desktop-*.dmg
generate_release_notes: true
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.github_token }}