release - remove validate (#6) #6
This file contains hidden or 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: NPM Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
validate: | |
name: Validate | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Authenticate with private NPM package | |
run: echo "//registry.npmjs.org/:_authToken=\$NPM_AUTH_TOKEN" > ~/.npmrc | |
- name: Install Dependencies | |
run: npm ci --no-scripts | |
env: | |
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
- name: Install Rebuild | |
run: npm rebuild | |
- name: Run Build | |
run: npm run build | |
- run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Automation" | |
npx --yes -p auto@11 auto shipit --plugins npm released | |
env: | |
GH_TOKEN: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |