Skip to content

ci: fix cache path #115

ci: fix cache path

ci: fix cache path #115

Workflow file for this run

name: Build
on:
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Use Node.js
with:
node-version: 18.x
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: npm install --save
- run: npm run test -- --coverage --coverageDirectory coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- run: npm run build
env:
VERSION: v0.0.0