File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release
2+
23on :
34 push :
45 branches :
56 - main
67 paths :
78 - ' plugins/**'
8- workflow_dispatch :
9+ workflow_dispatch :
910
10- # Required for trusted publishing
1111permissions :
1212 contents : read
13- id-token : write # Needed for provenance and trusted publishing
13+ id-token : write
1414
1515concurrency : ${{ github.workflow }}-${{ github.ref }}
1616
1717jobs :
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
You can’t perform that action at this time.
0 commit comments