Skip to content

chore: initial release #1

chore: initial release

chore: initial release #1

Workflow file for this run

name: Publish to npm
on:
push:
branches:
- main
jobs:
publish:
name: Build, bump & publish to npm
runs-on: ubuntu-latest
container: httptoolkit/act-build-base:v3.0.0
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
- run: npm ci
- name: Install dependencies
run: npm install
- name: Build package
run: npm run build
# Create the new release:
# - name: Bump version & push
# run: |
# git config --global user.name 'Automated publish'
# git config --global user.email 'jabirdev@users.noreply.github.com'
# npm version patch
# git push && git push --tags
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
run: npm publish --access public