Skip to content

Commit

Permalink
chore: update project config
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Apr 28, 2023
1 parent d1077e8 commit c32fc03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test & maybe release
on:
push:
branches:
- master
- main
pull_request:

jobs:
Expand Down Expand Up @@ -162,7 +162,7 @@ jobs:
release:
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-webkit, test-webkit-webworker, test-electron-main, test-electron-renderer]
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# test-ipfs-example <!-- omit in toc -->

[![codecov](https://img.shields.io/codecov/c/github/ipfs-examples/test-ipfs-example.svg?style=flat-square)](https://codecov.io/gh/ipfs-examples/test-ipfs-example)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs-examples/test-ipfs-example/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/ipfs-examples/test-ipfs-example/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)
[![CI](https://img.shields.io/github/actions/workflow/status/ipfs-examples/test-ipfs-example/js-test-and-release.yml?branch=main\&style=flat-square)](https://github.com/ipfs-examples/test-ipfs-example/actions/workflows/js-test-and-release.yml?query=branch%3Amain)

> A test suite for testing examples using playwright for browsers and simple output matching for node
Expand Down Expand Up @@ -45,7 +45,6 @@ Run it from your package.json

### Browser tests


To run browser tests, create a test file similar to:

```js
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"release": {
"branches": [
"master"
"main"
],
"plugins": [
[
Expand Down

0 comments on commit c32fc03

Please sign in to comment.