Prep for v2.0.0 release #61
Workflow file for this run
This file contains 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: Continuous integration | |
on: [pull_request, push] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create npm configuration | |
run: echo "//npm.pkg.github.com/:_authToken=${token}" >> ~/.npmrc | |
env: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'npm' | |
- run: npm ci | |
# octokit types problem ? | |
# - run: npm run lint | |
- run: npm run build | |
- run: npm run test |