mirror of
https://github.com/actions-rs/cargo.git
synced 2024-12-22 15:45:49 +02:00
18 lines
413 B
YAML
18 lines
413 B
YAML
name: Continuous integration
|
|
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
test:
|
|
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@v2
|
|
- run: npm ci
|
|
- run: npm run lint
|
|
- run: npm run build
|
|
- run: npm run test
|