Skip to content

Commit

Permalink
Use Socket workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Pelle Wessman committed Nov 17, 2022
1 parent 93b0673 commit c856d69
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,24 @@ name: Linting
on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
branches:
- main
- master

permissions:
contents: read

# FIXME Replace with socketr.dev one
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
lint:
# FIXME Replace with socket.dev one
uses: voxpelli/ghatemplates/.github/workflows/lint.yml@main
linting:
name: "Linting"
uses: SocketDev/workflows/.github/workflows/reusable-base.yml@master
with:
no-lockfile: true
npm-test-script: 'check'
14 changes: 10 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,26 @@ name: Node CI
on:
push:
branches:
- main
- master
tags:
- '*'
pull_request:
branches:
- main
- master

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
# FIXME Replace with socket.dev one
uses: voxpelli/ghatemplates/.github/workflows/test.yml@main
name: "Tests"
uses: SocketDev/workflows/.github/workflows/reusable-base.yml@master
with:
no-lockfile: true
npm-test-script: 'test-ci'
node-versions: '14,16,18,19'
os: 'ubuntu-latest,windows-latest'

0 comments on commit c856d69

Please sign in to comment.