Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/prerelease.yml

This file was deleted.

15 changes: 6 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ on:
- master

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Make stable release to npm
uses: epeli/npm-release@v1
with:
type: stable
token: ${{ secrets.NPM_TOKEN }}
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish to npm
uses: JS-DevTools/npm-publish@v4
25 changes: 14 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@ name: test
on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: test coverage
run: |
npm ci
npm run mock-api-background
sleep 3 # wait for mock-api-background to eget up and running
npm test -- --coverage
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: test coverage
run: |
npm ci
npm run mock-api-background
npx wait-on tcp:4010 --timeout 60000 # wait for mock-api-background to get up and running
npm test -- --coverage
bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }}
- name: Show Prism log on failure
if: failure()
run: cat prism.log || true
Loading
Loading