|
| 1 | +name: xdpm CI |
| 2 | + |
| 3 | +on: [push] |
| 4 | + |
| 5 | +jobs: |
| 6 | + mac: |
| 7 | + runs-on: macos-latest |
| 8 | + strategy: |
| 9 | + matrix: |
| 10 | + node-version: [8.x, 10.x, 12.x] |
| 11 | + |
| 12 | + steps: |
| 13 | + - uses: actions/checkout@v1 |
| 14 | + - name: Use Node.js ${{ matrix.node-version }} |
| 15 | + uses: actions/setup-node@v1 |
| 16 | + with: |
| 17 | + node-version: ${{ matrix.node-version }} |
| 18 | + - run: npm install |
| 19 | + - run: npm link |
| 20 | + - run: xdpm -v |
| 21 | + - run: xdpm validate |
| 22 | + continue-on-error: true |
| 23 | + - run: xdpm package |
| 24 | + continue-on-error: true |
| 25 | + - run: mkdir -p /Users/runner/Library/Application\ Support/Adobe/Adobe\ XD |
| 26 | + - run: xdpm install |
| 27 | + continue-on-error: true |
| 28 | + - run: git clone https://github.com/AdobeXD/plugin-samples.git |
| 29 | + - run: xdpm validate |
| 30 | + working-directory: ./plugin-samples/quick-start |
| 31 | + - run: xdpm package |
| 32 | + working-directory: ./plugin-samples/quick-start |
| 33 | + - run: echo "{}" > ./manifest.json |
| 34 | + working-directory: ./plugin-samples/quick-start |
| 35 | + - run: xdpm validate |
| 36 | + working-directory: ./plugin-samples/quick-start |
| 37 | + continue-on-error: true |
| 38 | + |
| 39 | + windows: |
| 40 | + runs-on: windows-latest |
| 41 | + |
| 42 | + strategy: |
| 43 | + matrix: |
| 44 | + node-version: [8.x, 10.x, 12.x] |
| 45 | + |
| 46 | + steps: |
| 47 | + - uses: actions/checkout@v1 |
| 48 | + - name: Use Node.js ${{ matrix.node-version }} |
| 49 | + uses: actions/setup-node@v1 |
| 50 | + with: |
| 51 | + node-version: ${{ matrix.node-version }} |
| 52 | + - run: npm install |
| 53 | + - run: npm link |
| 54 | + - run: xdpm -v |
| 55 | + - run: xdpm validate |
| 56 | + continue-on-error: true |
| 57 | + - run: xdpm package |
| 58 | + continue-on-error: true |
| 59 | + - run: md C:\Users\runneradmin\AppData\Local\Packages\Adobe.CC.XD_adky2gkssdxte\LocalState |
| 60 | + - run: xdpm install |
| 61 | + continue-on-error: true |
| 62 | + - run: git clone https://github.com/AdobeXD/plugin-samples.git |
| 63 | + - run: xdpm validate |
| 64 | + working-directory: ./plugin-samples/quick-start |
| 65 | + - run: xdpm package |
| 66 | + working-directory: ./plugin-samples/quick-start |
| 67 | + - run: echo "{}" > ./manifest.json |
| 68 | + working-directory: ./plugin-samples/quick-start |
| 69 | + - run: xdpm validate |
| 70 | + working-directory: ./plugin-samples/quick-start |
| 71 | + continue-on-error: true |
0 commit comments