Release 11.1.0 #183
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: build | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: Ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [14.x, 16.x, 18.x] | |
| name: Node ${{ matrix.node-version }} sample | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Node ${{ matrix.nodeversion }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Testing | |
| run: npm test | |
| - name: Before deploy | |
| run: npm run docs | |
| - name: Deploy to GitHub Pages | |
| uses: JamesIves/[email protected] | |
| with: | |
| FOLDER: docs |