Skip to content

Commit

Permalink
Merge pull request #2 from juliancasaburi/fix/development-workflow
Browse files Browse the repository at this point in the history
fix: development workflow
  • Loading branch information
juliancasaburi authored Jan 5, 2024
2 parents 0c5bc30 + 32cb6c1 commit f0be978
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,34 @@ jobs:
timeout-minutes: 10
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: "🔧 setup node"
uses: actions/setup-node@v2.1.5
- name: "🔧 setup node & run tests"
uses: actions/setup-node@v4
with:
node-version: 16

- name: "🔧 install npm@latest"
run: npm i -g npm@latest

- name: "📦 install dependencies"
uses: bahmutov/npm-install@v1
run: npm ci

- name: "🔍 run tests"
run: npm run test --if-present
run: npm test --if-present

lint:
name: Code standards
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: "🔧 setup node"
uses: actions/setup-node@v2.1.5
- name: "🔧 setup node & lint"
uses: actions/setup-node@v4
with:
node-version: 16

- name: "🔧 install npm@latest"
run: npm i -g npm@latest

- name: "📦 install dependencies"
uses: bahmutov/npm-install@v1
run: npm ci

- name: "🔍 lint code"
run: npm run lint --if-present

0 comments on commit f0be978

Please sign in to comment.