Installation
The different ways to install and use hammerkit
Npm / Yarn
Hammerkit can be easily installed and upgraded by npm/yarn. If node is already installed.
npm i -g hammerkityarn add -g hammerkitHomebrew
With homebrew hammerkit can be installed on mac and linux (including windows with WSL).
brew tap no0dles/hammerkit
brew install hammerkitBinary
Each release of hammerkit has a release on github with binaries for windows, macos and linux. Those do not require to have node installed and support arm and x86.
Container
The container image on docker hub contains hammerkit and can be used for dind. For container builds on CI systems its the recommended approach.
Gitlab CI
variables:
DOCKER_DRIVER: overlay2
services:
- docker:19.03.0-dind
build:
image: no0dles/hammerkit
script:
- hammerkit buildGithub Action
For github action there is the no0dles/hammerkit-github-action action to install hammerkit. The action requires the setup-node to run correctly.
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: no0dles/hammerkit-github-action@v1.3Last updated
Was this helpful?