Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #25

Merged
merged 21 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 20.x

- name: Set up Git
run: |
git config --global user.email "nova.web3.collective@gmail.com"
git config --global user.name "nova collective"

- name: Install dependencies
run: node ci --function installDeps
Expand All @@ -46,9 +41,3 @@ jobs:

- name: Run scripts unit tests
run: node ci --function scriptsUnitTest

- name: Tag the release with the version
run: node ci --function tagRelease
if: |
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
(github.event_name == 'pull_request' && github.base_ref == 'refs/heads/main' && github.event.action == 'closed' && github.event.pull_request.merged)
16 changes: 16 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: tag

on:
pull_request:
types: [closed]

jobs:
tagVersion:
if: github.event.pull_request.merged && github.event.pull_request.base.ref == 'main'
runs-on: ubuntu-latest

steps:
- name: Tag the release with the version
run: node ci --function tagRelease
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agora",
"version": "0.5.0",
"version": "0.6.0",
"description": "A confidentiality-first electronic voting system",
"author": {
"name": "nova collective",
Expand Down
Loading