|
1 |
| -on: |
2 |
| - push: |
3 |
| - branches: [main] |
| 1 | +# on: |
| 2 | +# push: |
| 3 | +# branches: [main] |
4 | 4 |
|
5 |
| -jobs: |
6 |
| - build: |
7 |
| - runs-on: ubuntu-latest |
8 |
| - steps: |
9 |
| - - name: Checkout repository |
10 |
| - uses: actions/checkout@v3 |
| 5 | +# jobs: |
| 6 | +# build: |
| 7 | +# runs-on: ubuntu-latest |
| 8 | +# steps: |
| 9 | +# - name: Checkout repository |
| 10 | +# uses: actions/checkout@v3 |
11 | 11 |
|
12 |
| - - name: Setup Node |
13 |
| - uses: actions/setup-node@v3 |
14 |
| - with: |
15 |
| - node-version: "lts/*" |
16 |
| - registry-url: "https://registry.npmjs.org" |
| 12 | +# - name: Setup Node |
| 13 | +# uses: actions/setup-node@v3 |
| 14 | +# with: |
| 15 | +# node-version: "lts/*" |
| 16 | +# registry-url: "https://registry.npmjs.org" |
17 | 17 |
|
18 |
| - - name: Install dependencies |
19 |
| - run: yarn --ignore-engines |
| 18 | +# - name: Install dependencies |
| 19 | +# run: yarn --ignore-engines |
20 | 20 |
|
21 |
| - #- name: Run tests |
22 |
| - # run: yarn run test |
| 21 | +#- name: Run tests |
| 22 | +# run: yarn run test |
23 | 23 |
|
24 |
| - - name: Build project |
25 |
| - run: yarn run build #--target npm |
| 24 | +# - name: Build project |
| 25 | +# run: yarn run build #--target npm |
26 | 26 |
|
27 |
| - - name: Create zip lib |
28 |
| - uses: vimtor/action-zip@v1 |
29 |
| - with: |
30 |
| - files: library/ |
31 |
| - dest: pyscript-react.zip |
| 27 | +# - name: Create zip lib |
| 28 | +# uses: vimtor/action-zip@v1 |
| 29 | +# with: |
| 30 | +# files: library/ |
| 31 | +# dest: pyscript-react.zip |
32 | 32 |
|
33 |
| - - name: Get current tag |
34 |
| - run: | |
35 |
| - echo "current_tag=v`grep version package.json | sed 's/.*"version": "\(.*\)".*/\1/'`" >> $GITHUB_ENV |
| 33 | +# - name: Get current tag |
| 34 | +# run: | |
| 35 | +# echo "current_tag=v`grep version package.json | sed 's/.*"version": "\(.*\)".*/\1/'`" >> $GITHUB_ENV |
36 | 36 |
|
37 |
| - - name: Create new tag |
38 |
| - uses: rickstaa/action-create-tag@v1 |
39 |
| - id: "tag_create" |
40 |
| - with: |
41 |
| - tag: "${{ env.current_tag }}" |
42 |
| - tag_exists_error: true |
43 |
| - message: "Latest release" |
| 37 | +# - name: Create new tag |
| 38 | +# uses: rickstaa/action-create-tag@v1 |
| 39 | +# id: "tag_create" |
| 40 | +# with: |
| 41 | +# tag: "${{ env.current_tag }}" |
| 42 | +# tag_exists_error: true |
| 43 | +# message: "Latest release" |
44 | 44 |
|
45 |
| - - name: Create GitHub realese |
46 |
| - uses: "marvinpinto/action-automatic-releases@latest" |
47 |
| - with: |
48 |
| - repo_token: "${{ secrets.GITHUB_TOKEN }}" |
49 |
| - automatic_release_tag: "${{ env.current_tag }}" |
50 |
| - prerelease: false |
51 |
| - files: | |
52 |
| - LICENSE |
53 |
| - pyscript-react.zip |
| 45 | +# - name: Create GitHub realese |
| 46 | +# uses: "marvinpinto/action-automatic-releases@latest" |
| 47 | +# with: |
| 48 | +# repo_token: "${{ secrets.GITHUB_TOKEN }}" |
| 49 | +# automatic_release_tag: "${{ env.current_tag }}" |
| 50 | +# prerelease: false |
| 51 | +# files: | |
| 52 | +# LICENSE |
| 53 | +# pyscript-react.zip |
54 | 54 |
|
55 |
| - - name: Publish to npm 🚀 |
56 |
| - run: | |
57 |
| - cd library |
58 |
| - yarn publish |
59 |
| - cd .. |
60 |
| - for dir in library/*; do |
61 |
| - if [ -d "$dir" ]; then |
62 |
| - cd "$dir" |
63 |
| - yarn publish |
64 |
| - cd ../../ |
65 |
| - fi |
66 |
| - done |
67 |
| - env: |
68 |
| - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 55 | +# - name: Publish to npm 🚀 |
| 56 | +# run: | |
| 57 | +# cd library |
| 58 | +# yarn publish |
| 59 | +# cd .. |
| 60 | +# for dir in library/*; do |
| 61 | +# if [ -d "$dir" ]; then |
| 62 | +# cd "$dir" |
| 63 | +# yarn publish |
| 64 | +# cd ../../ |
| 65 | +# fi |
| 66 | +# done |
| 67 | +# env: |
| 68 | +# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
0 commit comments