fix: country iso code mapping (#73) #402
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: Main | |
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.code-*' | |
- '.vscode/**' | |
- '.devcontainer.json' | |
workflow_dispatch: | |
jobs: | |
test: | |
uses: ocadotechnology/codeforlife-workspace/.github/workflows/test-javascript-code.yaml@main | |
secrets: inherit | |
with: | |
node-version: 18 | |
release: | |
needs: [test] | |
concurrency: release | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write # to enable use of OIDC for npm provenance | |
# Release if: | |
# - the repo's owner is Ocado Tech. | |
# - a change is made to the default branch. | |
if: | | |
github.repository_owner_id == 2088731 && | |
github.ref_name == github.event.repository.default_branch | |
steps: | |
- name: 🚀 Publish Semantic Release | |
uses: ocadotechnology/codeforlife-workspace/.github/actions/github/release@main | |
with: | |
cfl-bot-gh-token: ${{ secrets.CFL_BOT_GH_TOKEN }} | |
npm-token: ${{ secrets.NPM_TOKEN }} |