Skip to content

Commit

Permalink
fix: github actions release flow
Browse files Browse the repository at this point in the history
- remove the semantic release code and replace it with JS-Devtools
  • Loading branch information
sandroscosta committed Sep 24, 2024
1 parent 041bed2 commit 2b9f341
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Release CI
on:
push:
branches:
- master
- alpha
- nau/*.master

jobs:
release:
name: Release
Expand Down Expand Up @@ -33,10 +33,7 @@ jobs:
uses: codecov/codecov-action@v3
- name: Build
run: npm run build
- name: Release
uses: cycjimmy/semantic-release-action@v3
- name: Release to npmjs
uses: JS-DevTools/npm-publish@v3
with:
semantic_version: 16
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
token: ${{ secrets.NPM_AUTH_TOKEN }}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@edx/frontend-component-header",
"version": "1.0.0-semantically-released",
"description": "The standard header for Open edX",
"name": "@nauedu/frontend-component-header",
"version": "18.0.0",
"description": "NAU header component for Open edX",
"main": "dist/index.js",
"publishConfig": {
"access": "public"
Expand All @@ -24,14 +24,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/openedx/frontend-component-header.git"
"url": "git+https://github.com/fccn/frontend-component-header-nau.git"
},
"author": "edX",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/openedx/frontend-component-header/issues"
"url": "https://github.com/fccn/frontend-component-header-nau/issues"
},
"homepage": "https://github.com/openedx/frontend-component-header#readme",
"homepage": "https://github.com/fccn/frontend-component-header-nau#readme",
"devDependencies": {
"@edx/brand": "npm:@openedx/brand-openedx@^1.2.2",
"@edx/browserslist-config": "^1.1.1",
Expand Down

0 comments on commit 2b9f341

Please sign in to comment.