fix: update latest postgres version #36
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: Release | |
on: | |
push: | |
branches: | |
- master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
release: | |
name: Build and release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build dependencies | |
run: npm run build | |
- name: Commit and push changes | |
run: | | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor }}@users.noreply.github.com" | |
git add dist | |
git commit -m "chore: build dist files" || true | |
git push origin master | |
git fetch origin | |
- name: Install semantic release | |
shell: bash | |
run: |- | |
npm install -g \ | |
semantic-release \ | |
@semantic-release/exec \ | |
@semantic-release/git \ | |
semantic-release-major-tag | |
- name: Release | |
shell: bash | |
# Note: semantic-release can partially fail, but still tag (that's important) | |
# so make a best effort to continue in case of error | |
run: npx semantic-release || true |