Skip to content

Commit

Permalink
chore: fix .releaserc file (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
robsongajunior authored Feb 1, 2024
1 parent 722c00e commit 41a23c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 83 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/.releaserc

This file was deleted.

29 changes: 10 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,22 @@ jobs:
- name: OS - Installing Git CLI
run: apt-get install git-all -y

- name: CHECKOUT project
uses: actions/checkout@v3
with:
repository: aziontech/azion-web-kit
ref: main
path: '.'
clean: true
fetch-depth: '0'
lfs: 'false'

- name: Node.js Setup
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
# registry-url: 'https://npm.pkg.github.com'
# scope: '@aziontech'
# always-auth: true
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_SECRET }}

- name: Node.js installing project dependencies
run: npm install
registry-url: 'https://npm.pkg.github.com'
scope: '@aziontech'
always-auth: true
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_SECRET }} # necessary to use npm install to internal git repository

- name: Release
run: npx semantic-release
shell: bash
run: |
rm -rf ./*
git clone https://github.com/aziontech/azion-theme.git && cd ./azion-theme && npm install
npx semantic-release
env:
GH_TOKEN: ${{ secrets.GIT_PKG }}
GITHUB_TOKEN: ${{ secrets.GIT_PKG }}
Expand Down

0 comments on commit 41a23c6

Please sign in to comment.