Skip to content

Commit

Permalink
Feature/build (#2)
Browse files Browse the repository at this point in the history
* add github action

* bump version
  • Loading branch information
rossknudsen authored Mar 31, 2024
1 parent 90f5f65 commit c10ee20
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Node.js Package

on:
release:
types: [created]

jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_nuget_installer_api_token}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-nuget-installer-api",
"version": "0.0.0",
"version": "1.0.0",
"description": "Contracts for VS Code Nuget Installer",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down

0 comments on commit c10ee20

Please sign in to comment.