Update dependencies to latest versions #12
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
| on: [push, pull_request_target] | |
| name: Test and lint | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - run: npm test | |
| package_check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: "Ensure that code has been packaged and commited" | |
| run: |- | |
| npm install | |
| npm run package | |
| git diff --exit-code dist/index.js || \ | |
| (echo -e "\nPlease run 'npm run package' and commit the results" && exit 1) | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ ubuntu-latest, macos-latest, windows-latest ] | |
| steps: | |
| - uses: actions/checkout@master | |
| - name: Install deck | |
| uses: ./ | |
| with: | |
| token: ${{ secrets.DECKRUN_API_TOKEN }} | |
| - name: Verify installation | |
| run: deck version | |
| - name: Verify log-in | |
| run: deck auth check |