Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: npm version

- name: Install deps
run: npm install
run: npm ci

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

running ci makes sure we get a consistent set of dependencies


- name: Build, apply formatting, lint, package and run unit tests
run: npm run all
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Dependency directory
node_modules

# Build directory
lib

# Rest pulled from https://github.com/github/gitignore/blob/master/Node.gitignore
# Logs
logs
Expand Down Expand Up @@ -96,4 +99,7 @@ Thumbs.db

# Ignore built ts files
__tests__/runner/*
lib/**/*

# Intellij IDEA
.idea
*.iml
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Setup BATS
uses: mig4/setup-bats@v1
with:
bats-version: 1.2.1
bats-version: 1.5.0

- name: Check out code
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Test
run: bats -r .
Expand All @@ -33,7 +33,7 @@ jobs:

Options available as keys in `with` block

- `bats-version` (`string`): version of [BATS][] to setup, defaults to 1.2.1 if
- `bats-version` (`string`): version of [BATS][] to setup, defaults to 1.5.0 if
not set

## Platforms 🖥
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ author: 'mig4'
inputs:
bats-version:
description: 'The BATS version to setup. Example: 1.0.0 or master, default: 1.2.1'
default: '1.2.1'
required: false
default: '1.5.0'
runs:
using: 'node12'
main: 'dist/index.js'
Loading