Update publishing flow to use trusted publishers #67
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: Node CI | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| node-ci: | |
| name: Node CI - test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [8, 10, 12, 14, 15] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node JS ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm install | |
| - name: Linting | |
| run: npm run lint | |
| - name: Testing | |
| run: npm run test | |