Skip to content

Bump SurrealDB to 1.5.0, version to 1.0.0-beta.10 (#78) #20

Bump SurrealDB to 1.5.0, version to 1.0.0-beta.10 (#78)

Bump SurrealDB to 1.5.0, version to 1.0.0-beta.10 (#78) #20

Workflow file for this run

name: Publish Package to npmjs
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Install Node & NPM"
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
- name: "Install wasm-pack"
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: "Install NPM dependencies"
run: npm install
- name: "Build & Bundle"
run: npm run build
- name: "Publish!"
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}