Merge pull request #334 from johngeorgewright/renovate/concurrently-9.x #379
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: Publish | |
on: | |
push: | |
branches: [master] | |
jobs: | |
npm: | |
name: NPM | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.PUSH_TOKEN }} | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: Setup | |
run: yarn --immutable | |
- name: Build | |
run: yarn build | |
- name: Test | |
run: yarn test | |
env: | |
JWT_EMAIL: ${{ secrets.JWT_EMAIL }} | |
JWT_KEY: ${{ secrets.JWT_KEY }} | |
NETWORK_CODE: ${{ secrets.NETWORK_CODE }} | |
- name: Setup git user | |
uses: fregante/setup-git-user@v2 | |
- name: Check for new/removed versions | |
run: yarn commit:state | |
- name: Release | |
run: yarn semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |