update to full release #861
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| paths: | |
| - 'plugin/**' | |
| - '.github/workflows/ci.yml' | |
| pull_request: | |
| paths: | |
| - 'plugin/**' | |
| - '.github/workflows/ci.yml' | |
| jobs: | |
| setup: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@ce177499ccf9fd2aded3b0426c97e5434c2e8a73 | |
| with: | |
| access_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Get Latest | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 14.x | |
| - uses: actions/checkout@v2 | |
| - name: Restore Dependency Cache | |
| uses: actions/cache@v1 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }} | |
| - name: Get Package Version | |
| id: package-version | |
| uses: martinbeentjes/npm-get-version-action@master | |
| with: | |
| path: core/ | |
| verify-plugin: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| needs: | |
| - setup | |
| steps: | |
| - uses: actions/setup-node@v1 | |
| with: | |
| node-version: 16.x | |
| - uses: actions/checkout@v2 | |
| - name: Restore Dependency Cache | |
| uses: actions/cache@v1 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }} | |
| - run: npm install | |
| working-directory: plugin | |
| - run: npm run build | |
| working-directory: plugin |