Skip to content

chore: bump tar from 6.1.13 to 6.2.1 #514

chore: bump tar from 6.1.13 to 6.2.1

chore: bump tar from 6.1.13 to 6.2.1 #514

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checks:
name: TypeScript, lint, build
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Check types
run: yarn check-types
- name: Lint
run: yarn lint
- name: Build packages
run: yarn build:release
test:
name: ${{ matrix.os }}-node-v${{ matrix.node }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: ['18', '19', '20', '21']
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install --immutable
- name: Run unit, e2e and type test
run: yarn test
- name: Run integration tests
if: matrix.node == '20'
run: yarn test:integration
- name: Run build
run: yarn build
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
if: matrix.node == '20'
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
files: ./coverage/coverage-final.json
flags: unittests
name: codecov-spotify-token
verbose: true