Skip to content

Commit

Permalink
looks ready to test with live creds
Browse files Browse the repository at this point in the history
  • Loading branch information
Samkeer1 committed Apr 1, 2024
1 parent 4730f6f commit cd001ad
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 31 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test and Deploy

on: push

jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
registry-url: 'https://registry.npmjs.org'
with:
node-version: 16
- run: npm install
- run: npm run build
- run: npm test
deploy:
needs: [run-tests]
runs-on: ubuntu-latest
if: ${{ github.ref_name == 'master' }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
registry-url: 'https://registry.npmjs.org'
with:
node-version: 16
- run: npm install
- run: npm run build
- run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<img src="docs-src/static/images/harmonium-logo.png" width="400px"/>

[![NPM Version][npm-badge]][npm-url]
[![Travis Build Status][travis-badge]][travis-url]
[![Dependency Status](https://dependencyci.com/github/revelrylabs/harmonium/badge)](https://dependencyci.com/github/revelrylabs/harmonium)
[![Coverage Status](https://opencov.prod.revelry.net/projects/8/badge.svg)](https://opencov.prod.revelry.net/projects/8)

Expand Down Expand Up @@ -189,8 +188,6 @@ adhere to the Contributor Covenant Code of Conduct (see [CODE_OF_CONDUCT.md](htt

[npm-badge]: https://img.shields.io/npm/v/harmonium.svg
[npm-url]: https://www.npmjs.com/package/harmonium
[travis-badge]: https://img.shields.io/travis/revelrylabs/harmonium.svg
[travis-url]: https://travis-ci.org/revelrylabs/harmonium

## License

Expand Down

0 comments on commit cd001ad

Please sign in to comment.