feat: Add new request to get the lrc content #57
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: Continuous Integration Workflow | |
on: | |
push: | |
branches-ignore: ['main'] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
build: | |
name: 'build to JS' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20.x'] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Use Node .js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build | |
run: pnpm run build | |
lint: | |
name: 'Run linter' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20.x'] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Use Node .js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: lint | |
run: pnpm run lint | |
test: | |
name: 'Run Unit tests' | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['20.x'] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Use Node .js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: test | |
run: pnpm run test |