Skip to content

Commit

Permalink
fix: add generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
test123456789012345 committed Jun 9, 2020
1 parent 27cd131 commit bde9f64
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 25 deletions.
42 changes: 28 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,69 @@
name: build

on:
push:
branches:
- '**'

- "**"
jobs:
cancel-existing:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@v0.2.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test:
runs-on: ${{ matrix.os }}
needs: cancel-existing
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
node: [10, 12]
os:
- macos-latest
- windows-latest
- ubuntu-latest
node:
- 10
- 12
exclude:
- os: macos-latest
node: 10
- os: windows-latest
node: 10
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: git config --global user.email "actions@github.com"
- run: git config --global user.name "GitHub Actions"
- run: yarn --frozen-lockfile
- run: yarn test
- name: Push changed files
if: matrix.os == 'ubuntu-latest' && matrix.node == 12
run: yarn dw-ci push-changed-files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
- name: Coveralls
if: matrix.os == 'ubuntu-latest' && matrix.node == 12
run: yarn dw-ci coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
COVERALLS_GIT_COMMIT: ${{ github.sha }}
COVERALLS_GIT_BRANCH: ${{ github.ref }}

release:
needs: test
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn --frozen-lockfile
- name: Push changed files
run: yarn dw-ci push-changed-files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn semantic-release
run: yarn semantic-release
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
.DS_Store
/.babelrc.json
/.cz.json
/.editorconfig
/.env
/.env.json
/.eslintrc.json
/.nyc_output
/.releaserc.json
/.test.env.json
/.vscode
/coverage
/dist
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<!-- TITLE/ -->
# @dword-design/depcheck-execa-detector
# depcheck-execa-detector
<!-- /TITLE -->

<!-- BADGES/ -->
[![NPM version](https://img.shields.io/npm/v/@dword-design/depcheck-execa-detector.svg)](https://npmjs.org/package/@dword-design/depcheck-execa-detector)
[![NPM version](https://img.shields.io/npm/v/depcheck-execa-detector.svg)](https://npmjs.org/package/depcheck-execa-detector)
![Linux macOS Windows compatible](https://img.shields.io/badge/os-linux%20%7C%C2%A0macos%20%7C%C2%A0windows-blue)

[![Build status](https://img.shields.io/github/workflow/status/dword-design/depcheck-execa-detector/build)](https://github.com/dword-design/depcheck-execa-detector/actions)
[![Coverage status](https://img.shields.io/coveralls/dword-design/depcheck-execa-detector)](https://coveralls.io/github/dword-design/depcheck-execa-detector)
[![Dependency status](https://img.shields.io/david/dword-design/depcheck-execa-detector)](https://david-dm.org/dword-design/depcheck-execa-detector)
Expand All @@ -15,18 +14,18 @@
<!-- /BADGES -->

<!-- DESCRIPTION/ -->

Detector for depcheck that finds dependencies in execa calls.
<!-- /DESCRIPTION -->

<!-- INSTALL/ -->
# Install
## Install

```bash
# NPM
$ npm install @dword-design/depcheck-execa-detector
$ npm install depcheck-execa-detector

# Yarn
$ yarn add @dword-design/depcheck-execa-detector
$ yarn add depcheck-execa-detector
```
<!-- /INSTALL -->

Expand Down Expand Up @@ -65,7 +64,7 @@ execa.command('foo bar')
```

<!-- LICENSE/ -->
# License
## License

Unless stated otherwise all works are:

Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
],
"scripts": {
"commit": "base commit",
"depgraph": "base depgraph",
"dev": "base dev",
"prepare": "base prepare",
"prepublishOnly": "base prepublishOnly",
"release": "base release",
"test": "base test"
},
"dependencies": {
Expand All @@ -27,5 +26,8 @@
"execa": "^4.0.0",
"output-files": "^1.1.10",
"with-local-tmp-dir": "^2.2.4"
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit bde9f64

Please sign in to comment.