Public Access
24 lines
547 B
YAML
24 lines
547 B
YAML
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.GH_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
|