Skip to content

feat: finish deployment function + add zip functionality to adapter +… #7

feat: finish deployment function + add zip functionality to adapter +…

feat: finish deployment function + add zip functionality to adapter +… #7

name: publish adapter-battleshiper to npm
on:
push:
branches:
- main
paths:
- "adapter-battleshiper/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: latest
- name: publish to npm
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_ACCESS_TOKEN }}" > ~/.npmrc
cd adapter-battleshiper
npm ci
npm publish --access public