Skip to content

Merge pull request #228 from TractorZoom/chore/updateAllDependencies #218

Merge pull request #228 from TractorZoom/chore/updateAllDependencies

Merge pull request #228 from TractorZoom/chore/updateAllDependencies #218

Workflow file for this run

name: publish
on:
push:
branches:
- master
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test
npm-publish:
needs: build-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Configure Git User
run: |
git config --global user.email "dev-support@tractorzoom.com"
git config --global user.name "ci@$GITHUB_ACTOR"
- name: publish
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0