Skip to content

Commit

Permalink
ci: add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanBerger98 committed Apr 3, 2024
1 parent 9c88e6d commit a314889
Show file tree
Hide file tree
Showing 5 changed files with 8,014 additions and 2,022 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Create a release

on:
push:
branches:
- main

permissions:
contents: read

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release
5 changes: 5 additions & 0 deletions javascript/variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ module.exports = {
ignoreClassFieldInitialValues: true,
enforceConst: true,
detectObjects: false,
ignore: [
0,
1,
-1,
],
} ],
},
};
Loading

0 comments on commit a314889

Please sign in to comment.