fix(select): validate when value null/undefined #75
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: Nodejs Release | |
on: | |
push: | |
branches: [current, next] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build-and-publish: | |
runs-on: ubuntu-latest | |
concurrency: release | |
steps: | |
- name: Generate GitHub token | |
# https://github.com/semantic-release/github/issues/175#issuecomment-1489689561 | |
id: generate_token | |
uses: tibdex/github-app-token@v1 | |
with: | |
app_id: ${{ secrets.SEMANTIC_RELEASE_APP_ID }} | |
private_key: ${{ secrets.SEMANTIC_RELEASE_PRIVATE_KEY }} | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
registry-url: https://registry.npmjs.org/ | |
- name: Install dependencies and build | |
run: | | |
npx playwright install-deps | |
npm ci | |
npm run verify | |
- name: Generate release version | |
run: npm run semantic-release | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} |