|
1 | | -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created |
2 | | -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages |
| 1 | +# # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created |
| 2 | +# # For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages |
3 | 3 |
|
4 | | -name: Node.js Package |
| 4 | +# name: Node.js Package |
5 | 5 |
|
6 | | -on: |
7 | | - push: |
8 | | - branches: [ "main" ] |
| 6 | +# on: |
| 7 | +# push: |
| 8 | +# branches: [ "main" ] |
9 | 9 |
|
10 | | -jobs: |
11 | | - build: |
12 | | - runs-on: ubuntu-latest |
13 | | - steps: |
14 | | - # - uses: actions/checkout@v2 |
15 | | - # - uses: KSXGitHub/github-actions-setup-pnpm@master |
16 | | - # with: |
17 | | - # version: 4.11.1 |
| 10 | +# jobs: |
| 11 | +# build: |
| 12 | +# runs-on: ubuntu-latest |
| 13 | +# steps: |
| 14 | +# # - uses: actions/checkout@v2 |
| 15 | +# # - uses: KSXGitHub/github-actions-setup-pnpm@master |
| 16 | +# # with: |
| 17 | +# # version: 4.11.1 |
18 | 18 |
|
19 | | - # - name: Install dependencies |
20 | | - # run: pnpm install |
21 | | - # - uses: actions/checkout@v3 |
22 | | - # - name: Install pnpm |
23 | | - # uses: pnpm/action-setup@v3 |
| 19 | +# # - name: Install dependencies |
| 20 | +# # run: pnpm install |
| 21 | +# # - uses: actions/checkout@v3 |
| 22 | +# # - name: Install pnpm |
| 23 | +# # uses: pnpm/action-setup@v3 |
24 | 24 |
|
25 | | - - uses: actions/checkout@v3 |
26 | | - - uses: actions/setup-node@v3 |
27 | | - with: |
28 | | - node-version: 16 |
29 | | - - run: npm run test |
30 | | - - run: npm run build |
| 25 | +# - uses: actions/checkout@v3 |
| 26 | +# - uses: actions/setup-node@v3 |
| 27 | +# with: |
| 28 | +# node-version: 16 |
| 29 | +# - run: npm run test |
| 30 | +# - run: npm run build |
31 | 31 |
|
32 | | - publish-npm: |
33 | | - needs: build |
34 | | - runs-on: ubuntu-latest |
35 | | - steps: |
36 | | - - uses: actions/checkout@v3 |
37 | | - - uses: actions/setup-node@v3 |
38 | | - with: |
39 | | - node-version: 16 |
40 | | - registry-url: https://registry.npmjs.org/ |
41 | | - - run: npm ci |
42 | | - - run: npm run release |
43 | | - env: |
44 | | - NODE_AUTH_TOKEN: ${{secrets.npm_token}} |
| 32 | +# publish-npm: |
| 33 | +# needs: build |
| 34 | +# runs-on: ubuntu-latest |
| 35 | +# steps: |
| 36 | +# - uses: actions/checkout@v3 |
| 37 | +# - uses: actions/setup-node@v3 |
| 38 | +# with: |
| 39 | +# node-version: 16 |
| 40 | +# registry-url: https://registry.npmjs.org/ |
| 41 | +# - run: npm ci |
| 42 | +# - run: npm run release |
| 43 | +# env: |
| 44 | +# NODE_AUTH_TOKEN: ${{secrets.npm_token}} |
0 commit comments