Skip to content

Commit

Permalink
Merge pull request #873 from brendandburns/examples
Browse files Browse the repository at this point in the history
Add a workflow to perform releases.
  • Loading branch information
k8s-ci-robot authored Jan 21, 2023
2 parents f293107 + a45f53d commit 22e0b76
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Javascript
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Package
run: ./build-package.sh
- name: Upload
run: ./push-package.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 22e0b76

Please sign in to comment.