fix: clean plugins .releaserc #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: azion-web-kit package publish | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: azion-web-kit package publish | |
runs-on: self-hosted | |
container: | |
image: ubuntu:latest | |
steps: | |
- name: Ubuntu configure | |
run: apt-get update -y | |
- name: Installing tzdata, git dependencie | |
run: apt-get install tzdata | |
- name: Installing git | |
run: apt-get install git-all -y | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
repository: aziontech/azion-web-kit | |
ref: main | |
path: '.' | |
clean: true | |
fetch-depth: '0' | |
lfs: 'false' | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.6.1 | |
registry-url: 'https://npm.pkg.github.com' | |
scope: '@aziontech' | |
always-auth: true | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GIT_PKG }} | |
NPM_TOKEN: ${{ secrets.GIT_PKG }} | |
NODE_AUTH_TOKEN: ${{ secrets.GIT_PKG }} | |
run: npx semantic-release | |
- name: Deploying package | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GIT_PKG }} |