-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
2,472 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: CI | ||
on: [push] | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "14" | ||
- run: yarn install | ||
- name: Check lib | ||
run: | | ||
make | ||
git diff --exit-code | ||
- run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
dist/index.js: index.ts package.json yarn.lock | ||
yarn tsc | ||
yarn ncc build dist/index.js | ||
lib/index.js: index.ts src/setup.ts package.json yarn.lock | ||
yarn ncc build index.ts -o lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
# actions-setup-cage | ||
Github Actions to setup [canarycage](https://github.com/loilo-inc/canarycage) | ||
|
||
# Usage | ||
## Usage | ||
|
||
```yml | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: loilo-inc/[email protected] | ||
- uses: loilo-inc/actions-setup-cage@{version} | ||
``` | ||
## Cage Version | ||
By default, if no `cage-version` specified in step parameters, the latest version of cage will be resolved and installed automatically. **This is highly recommended.** | ||
|
||
If you need to set specified version of cage, add `cage-version` param. | ||
|
||
```yaml | ||
- uses: loilo-inc/actions-setup-cage@{version} | ||
with: | ||
cage-version: 3.4.0 | ||
cage-version: 3.4.2 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.