Prep for v2.0.0 release (#25) #65
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 |