Skip to content

Commit

Permalink
feat: auto-release infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
dogun-anduril authored Nov 21, 2024
1 parent b3f690e commit 0e2c0c9
Show file tree
Hide file tree
Showing 255 changed files with 11,149 additions and 32,878 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/automerge.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/npm-publish-github-packages.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release
on:
push:
branches:
- master

permissions:
contents: read

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: npm clean-install
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
Empty file added LICENSE.txt
Empty file.
13 changes: 0 additions & 13 deletions node_modules/.package-lock.json

This file was deleted.

44 changes: 0 additions & 44 deletions node_modules/@bufbuild/protobuf/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions node_modules/@bufbuild/protobuf/dist/cjs/clone.d.ts

This file was deleted.

68 changes: 0 additions & 68 deletions node_modules/@bufbuild/protobuf/dist/cjs/clone.js

This file was deleted.

63 changes: 0 additions & 63 deletions node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/boot.d.ts

This file was deleted.

Loading

0 comments on commit 0e2c0c9

Please sign in to comment.