Skip to content

0.1.2

0.1.2 #9

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
working-directory: cblite
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- name: Create .npmrc
run: |
echo "@Couchbase-Ecosystem:registry=https://npm.pkg.github.com/" > .npmrc
echo "//npm.pkg.github.com/:_authToken=${{secrets.GITHUB_TOKEN}}" >> .npmrc
working-directory: cblite
- run: npm ci
working-directory: cblite
- run: npm publish
working-directory: cblite
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}