Skip to content

Sync

Sync #6

Workflow file for this run

name: release
on:
push:
workflow_dispatch:
tags:
- "*"
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
packages: write
jobs:
releaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ">=1.21.0"
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Go Mod
working-directory: ./provider
run: go mod download
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.SST_GITHUB_TOKEN }}
AUR_KEY: ${{ secrets.AUR_KEY }}
- run: make build_nodejs
- run: yarn npm publish
working-directory: ./sdk/nodejs
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}