Skip to content

📦 Release: Merge remote-tracking branch 'origin/release' into release #835

📦 Release: Merge remote-tracking branch 'origin/release' into release

📦 Release: Merge remote-tracking branch 'origin/release' into release #835

Workflow file for this run

name: Release
run-name: '📦 Release: ${{ github.event.head_commit.message }}'
on:
push:
branches:
- main
- release
- meteor-v3
- v3
- v3.1-vite-vms
env:
METEOR_SESSION_FILE_PATH: /opt/meteor/.meteor_session.json
METEOR_RELEASE: 3.0.4
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repo'
uses: actions/checkout@v3
- name: 'Setup Node.js'
uses: actions/setup-node@v4
with:
node-version: 20
- name: 'Prepare Meteor Session'
run: |
mkdir -p $(dirname "$METEOR_SESSION_FILE_PATH")
echo '${{ secrets.METEOR_SESSION }}' > "$METEOR_SESSION_FILE_PATH"
- name: 'Configure Git'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: 'Setup Meteor'
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: 3.0.4
- name: 'Install Dependencies'
run: |
meteor npm i
meteor npm run install:package
npm i -w npm-packages/@meteor-vite/plugin-zodern-relay
- name: 'Build packages'
run: |
npm run build:vite
meteor npm run build:package
- name: 'Create Release'
id: changesets
uses: changesets/action@v1
with:
version: npm run version
publish: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
METEOR_SESSION_FILE: ${{ env.METEOR_SESSION_FILE_PATH }}