⬆️ Bump country-codes-list from 1.6.8 to 1.6.11 (#1232) #198
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
# This workflow takes care of releasing a new version of the package and publishing it to NPM | |
# when a new releasable change is pushed to master (the releasability is detected using the commits' Gitmojis) | |
# To learn more about the releasability of the change see: https://github.com/carloscuesta/gitmoji/pull/692 | |
name: Release and publish | |
on: | |
push: | |
branches: | |
- master | |
- beta | |
jobs: | |
release-and-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout🚪 | |
uses: actions/checkout@v2 | |
- name: Read .nvmrc 🔍 | |
run: echo "::set-output name=NODE_VERSION::$(cat .nvmrc)" | |
id: nvm | |
- name: Set up the right node version 📌 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ steps.nvm.outputs.NODE_VERSION }} | |
- name: Install dependencies ⚙️ | |
run: npm ci | |
- name: Compile TypeScript | |
run: npm run build:tsc | |
- name: Release and publish 📤 | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: npm run semantic-release |