Skip to content

Commit

Permalink
using yarn instead of npm
Browse files Browse the repository at this point in the history
  • Loading branch information
GodYazza committed Jul 16, 2024
1 parent 526c3d3 commit 41c6c5b
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/npm_test.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
name: npm test

on:
pull_request:
branches:
- '**'
- "**"

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
cancel-in-progress: true

jobs:
test_pull_request:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: "web/.nvmrc"
cache: "yarn"
cache-dependency-path: "**/yarn.lock"
node-version-file: 'web/.nvmrc'
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Change directory to web
run: cd web
- name: Install dependencies
run: yarn
- name: Run build
run: cd web
run: npm run build
- name: Run tests
run: npm test
run: yarn build

0 comments on commit 41c6c5b

Please sign in to comment.