Skip to content

Commit 77388ca

Browse files
committed
fix: release automation
1 parent 3086e24 commit 77388ca

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,50 @@
11
name: Release
2+
23
on:
34
push:
45
branches:
56
- main
67
paths:
78
- 'plugins/**'
8-
workflow_dispatch:
9+
workflow_dispatch:
910

10-
# Required for trusted publishing
1111
permissions:
1212
contents: read
13-
id-token: write # Needed for provenance and trusted publishing
13+
id-token: write
1414

1515
concurrency: ${{ github.workflow }}-${{ github.ref }}
1616

1717
jobs:
1818
release:
1919
name: Release
2020
runs-on: ubuntu-latest
21+
2122
steps:
2223
- name: Checkout Repo
2324
uses: actions/checkout@v3
2425

26+
- name: Setup Python
27+
uses: actions/setup-python@v4
28+
with:
29+
python-version: '3.11'
30+
2531
- name: Setup Node.js 20.x
26-
uses: actions/setup-node@v6
32+
uses: actions/setup-node@v4
2733
with:
2834
node-version: 20.x
2935
cache: 'yarn'
3036
registry-url: 'https://registry.npmjs.org'
3137

38+
- name: Install system dependencies
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install -y build-essential g++ make python3-dev
42+
3243
- name: Install Dependencies
3344
run: yarn install
45+
env:
46+
PYTHON: python3
47+
NODE_OPTIONS: "--max-old-space-size=4096"
3448

3549
- name: Create Release Pull Request or Publish to npm
3650
id: changesets

0 commit comments

Comments
 (0)