Skip to content

simplify locust implementation #18

simplify locust implementation

simplify locust implementation #18

Workflow file for this run

name: Release Library
on:
push:
branches:
- main
- next
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch Git tags
run: git fetch --unshallow --tags
- name: Use Node 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: npm-deps-${{ hashFiles('package-lock.json') }}
restore-keys: npm-deps-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx auto shipit