Skip to content

chore(readme): bump node requirement and add instructions for bun #13

chore(readme): bump node requirement and add instructions for bun

chore(readme): bump node requirement and add instructions for bun #13

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install -g yarn
- id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- run: |
touch .env
echo LASTFM_TOKEN=${{ secrets.LASTFM_TOKEN }} >> .env
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --immutable
- run: yarn test
- run: yarn build