Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ajesk committed Aug 20, 2024
1 parent 9e68093 commit 35dded9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 38 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/ci.yml

This file was deleted.

36 changes: 16 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,27 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm test
- run: npm run deploy
- name: checkout Node.js ${{ matrix.node-version }}
uses: actions/checkout@v4

deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
- name: setup
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm run build --if-present
- run: npm run deploy

- name: install
run: npm install

- name: test
run: npm test

- name: build
run: npm run build

- name: deploy
run: npm run deploy

0 comments on commit 35dded9

Please sign in to comment.