Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed May 16, 2024
1 parent 49cd767 commit b0b4b6d
Show file tree
Hide file tree
Showing 4 changed files with 10,508 additions and 28,566 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

- name: Node cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
~/.npm
key: node-${{ hashFiles('package-lock.json') }}

- name: Node install
run: npm install
run: npm ci

- name: Build
run: npm run build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Setup node version and npm cache
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
Expand Down
Loading

0 comments on commit b0b4b6d

Please sign in to comment.