Skip to content

Merge pull request #41 from lambdalisue/automation/update-dependencies #19

Merge pull request #41 from lambdalisue/automation/update-dependencies

Merge pull request #41 from lambdalisue/automation/update-dependencies #19

Workflow file for this run

name: npm
env:
DENO_VERSION: 1.x
NODE_VERSION: 16.x
on:
push:
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: denoland/setup-deno@v1
with:
deno-version: ${{ env.DENO_VERSION }}
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: "https://registry.npmjs.org"
- name: Build
run: deno task build-npm
- name: Publish
run: |
cd npm
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}