Skip to content

Commit

Permalink
chore(github-action): fix pipeline github
Browse files Browse the repository at this point in the history
  • Loading branch information
Seboran committed Aug 9, 2023
1 parent cc76d4f commit 5884b6f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 85 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/coverage.js.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

name: pnpm Example Workflow
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm i
- run: pnpm run coverage
- name: Vitest Coverage Report
uses: davelosert/[email protected]


- name: Install dependencies
run: pnpm install
- name: Run coverage
run: pnpm test:coverage
31 changes: 0 additions & 31 deletions .github/workflows/node.js.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/npm-publish.yml

This file was deleted.

0 comments on commit 5884b6f

Please sign in to comment.