mirror of
https://github.com/actions-rs/cargo.git
synced 2024-11-14 13:36:33 +02:00
e35786a472
Add problem matcher for cargo output
23 lines
454 B
YAML
23 lines
454 B
YAML
name: Continuous integration
|
|
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
check_pr:
|
|
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@v1
|
|
|
|
- name: "npm ci"
|
|
run: npm ci
|
|
|
|
- name: "npm run build"
|
|
run: npm run build
|
|
|
|
- name: "npm run test"
|
|
run: npm run test
|