diff options
author | Anton Tananaev <anton@traccar.org> | 2024-04-06 09:36:43 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-04-06 09:36:43 -0700 |
commit | 63aa40978c87fdf32b65b241e7e864f0824f18e9 (patch) | |
tree | 194c39b85ca9469a12036c295580aef18bbf92d5 /.github | |
parent | f82c2d0cc93321d6b2db0807210dcfa0a1083401 (diff) | |
download | trackermap-web-63aa40978c87fdf32b65b241e7e864f0824f18e9.tar.gz trackermap-web-63aa40978c87fdf32b65b241e7e864f0824f18e9.tar.bz2 trackermap-web-63aa40978c87fdf32b65b241e7e864f0824f18e9.zip |
Update scripts
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/legacy.yml | 8 | ||||
-rw-r--r-- | .github/workflows/modern.yml | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/.github/workflows/legacy.yml b/.github/workflows/legacy.yml index 6edcd1db..66aafa38 100644 --- a/.github/workflows/legacy.yml +++ b/.github/workflows/legacy.yml @@ -5,12 +5,12 @@ on: branches: - master paths: - - web/** + - legacy/** pull_request: branches: - master paths: - - web/** + - legacy/** jobs: build: @@ -22,6 +22,8 @@ jobs: - uses: actions/setup-node@v3 with: cache: npm - cache-dependency-path: package-lock.json + cache-dependency-path: legacy/package-lock.json - run: npm ci --ignore-scripts + working-directory: legacy - run: npm run lint + working-directory: legacy diff --git a/.github/workflows/modern.yml b/.github/workflows/modern.yml index ebf155a2..88e1bdb4 100644 --- a/.github/workflows/modern.yml +++ b/.github/workflows/modern.yml @@ -4,13 +4,9 @@ on: push: branches: - master - paths: - - modern/** pull_request: branches: - master - paths: - - modern/** jobs: build: @@ -22,8 +18,6 @@ jobs: - uses: actions/setup-node@v3 with: cache: npm - cache-dependency-path: modern/package-lock.json + cache-dependency-path: package-lock.json - run: npm ci - working-directory: modern - run: npm run lint - working-directory: modern |