mirror of
https://github.com/actions-rs/toolchain.git
synced 2024-11-14 13:36:33 +02:00
CI build
This commit is contained in:
parent
fa175680a2
commit
7ad8591ba0
3 changed files with 20 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "rustup-toolchain",
|
"name": "rust-toolchain",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
|
|
18
workflows/ci.yml
Normal file
18
workflows/ci.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
name: Continuous integration
|
||||||
|
|
||||||
|
on: [pull_request, push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check_pr:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- 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
|
Loading…
Reference in a new issue