Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
Release v0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Jul 20, 2020
1 parent abaa64b commit 0ae87b3
Show file tree
Hide file tree
Showing 5 changed files with 324 additions and 190 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish

on:
push:
tags: ['*']

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Set up NodeJS
uses: actions/setup-node@v1
with:
node-version: 14
registry-url: https://npm.pkg.github.com
- name: Publish package
run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
21 changes: 9 additions & 12 deletions .github/workflows/build.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
name: Build package
name: Tests

on: [push, pull_request]
on:
push:
branches: ['*']
pull_request:
branches: ['*']

jobs:
build:
tests:
if: |
contains(github.event.commits[0].message, '[skip ci]') == false &&
contains(github.event.commits[0].message, '[ci skip]') == false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Set up NodeJS
uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: "@ObserverOfTime"
node-version: 14
- name: Install package
run: yarn --frozen-lockfile
- name: Audit dependencies
Expand All @@ -31,8 +33,3 @@ jobs:
run: yarn cover
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
- name: Publish package
run: yarn publish
if: startsWith(github.ref, 'refs/tags')
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# transfer.js

[![Version](https://img.shields.io/github/v/tag/ObserverOfTime/transfer.js?label=Version&logo=npm)](https://github.com/ObserverOfTime/transfer.js/packages)
[![Build](https://github.com/ObserverOfTime/transfer.js/workflows/Build/badge.svg)](https://github.com/ObserverOfTime/transfer.js/actions)
[![Tests](https://github.com/ObserverOfTime/transfer.js/workflows/Tests/badge.svg)](https://github.com/ObserverOfTime/transfer.js/actions?query=workflow:Tests)
[![Coverage](https://img.shields.io/codecov/c/gh/ObserverOfTime/transfer.js?label=Coverage&logo=codecov)](https://codecov.io/gh/ObserverOfTime/transfer.js)

Node.js CLI tool for easy file sharing with [transfer.sh](https://transfer.sh)
Expand Down
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "transfer.js",
"version": "0.5.4",
"version": "0.5.3",
"description": "Fork of transfer-sh, a CLI tool for easy file sharing with https://transfer.sh",
"main": "index.js",
"files": [
Expand Down Expand Up @@ -40,23 +40,26 @@
"registry": "https://npm.pkg.github.com/"
},
"dependencies": {
"cli-progress": "^3.6.1",
"cli-progress": "^3.8.2",
"clipboardy": "^2.3.0",
"got": "^10.7.0",
"handlebars": "^4.7.6",
"mime-types": "^2.1.26",
"mime-types": "^2.1.27",
"minimist": "^1.2.5",
"progress-promise": "^0.0.6"
},
"devDependencies": {
"@reconbot/jsdoc-theme": "^1.0.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"codecov": "^3.6.5",
"codecov": "^3.7.1",
"eslint": "^6.8.0",
"jsdoc": "^3.6.3",
"mocha": "mochajs/mocha#f87825a",
"nyc": "^15.0.1"
"jsdoc": "^3.6.4",
"mocha": "^8.0.1",
"nyc": "^15.1.0"
},
"resolutions": {
"lodash": "^4.17.19"
},
"nyc": {
"check-coverage": true,
Expand Down
Loading

0 comments on commit 0ae87b3

Please sign in to comment.