Skip to content

build: use pnpm lock file version #42

build: use pnpm lock file version

build: use pnpm lock file version #42

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
environment: actions
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: pnpm/action-setup@v2
with:
version: 8
- name: gen .env file
uses: SpicyPizza/[email protected]
with:
envkey_SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }}
envkey_SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }}
envkey_SPOTIFY_REFRESH_TOKEN: ${{ secrets.SPOTIFY_REFRESH_TOKEN }}
- run: pnpm install
- run: pnpm build
- run: pnpm test