rs-cargo/.github/workflows/ci.yml

19 lines
413 B
YAML
Raw Normal View History

2019-09-19 13:16:30 +03:00
name: Continuous integration
on: [pull_request, push]
jobs:
2020-03-25 07:40:28 +02:00
test:
2019-09-19 13:16:30 +03:00
runs-on: ubuntu-latest
steps:
2020-03-25 07:40:28 +02:00
- name: Create npm configuration
run: echo "//npm.pkg.github.com/:_authToken=${token}" >> ~/.npmrc
env:
token: ${{ secrets.GITHUB_TOKEN }}
2020-03-25 07:40:28 +02:00
- uses: actions/checkout@v2
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run test