mirror of https://github.com/Wilfred/difftastic/
add stripped-down version of workflow for master branch
parent
ff8c9afadd
commit
d1b5f96230
@ -0,0 +1,26 @@
|
||||
name: Package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: true
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Regenerate parser sources
|
||||
run: make generate
|
||||
- name: Verify generated sources
|
||||
run: git diff --exit-code
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
- name: Run cargo tests
|
||||
run: cargo test
|
||||
Loading…
Reference in New Issue