Skip to content

Commit

Permalink
Update nodejs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Jun 17, 2022
1 parent 23cb6e6 commit 483dc89
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -5,6 +5,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
NAME: restafary
strategy:
matrix:
node-version:
Expand All @@ -22,8 +24,35 @@ jobs:
run: npm install
- name: Bootstrap
run: redrun bootstrap

- name: Lint
run: redrun lint
run: redrun fix:lint

- uses: actions-rs/toolchain@v1
with:
toolchain: stable

- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Typos Install
run: cargo install typos-cli || echo 'already installed'

- name: Typos
run: typos --write-changes

- name: Commit fixes
uses: EndBug/add-and-commit@v7
with:
message: 'chore: ${{ env.NAME }}: lint using actions ☘️'

- name: Coverage
run: redrun coverage report
- name: Coveralls
Expand Down

0 comments on commit 483dc89

Please sign in to comment.