fix!: remove LocaleCode enum #8
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: Auto Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Prepare repository | |
run: git fetch --unshallow --prune --tags | |
- name: Unset header | |
# checkout@v2 adds a header that makes branch protection report errors ): | |
run: git config --local --unset http.https://github.com/.extraheader | |
- name: Read .nvmrc | |
id: nvm | |
run: echo ::set-output name=nvmrc::$(cat .nvmrc) | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ steps.nvm.outputs.nvmrc }} | |
cache: npm | |
- name: Install 🔧 | |
run: npm ci --legacy-peer-deps | |
# - name: Run Tests | |
# run: npm test | |
- name: Create Release ✨ | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} | |
run: npx auto shipit |