Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
chore: swap travis for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
waldenraines committed Oct 27, 2023
1 parent ae03b7a commit 99566f3
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 33 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14.x', '16.x', '18.x']

steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build:ci

31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@
"build": "npm run check && VITE_GIT_SHA=`git rev-parse --short HEAD` vite build",
"build:ci": "npm run ci && VITE_GIT_SHA=`git rev-parse --short HEAD` vite build",
"check": "npm run lint && npm run test:ci",
"ci": "npm run lint && npm run commitlint-travis && npm run test:ci",
"ci": "npm run lint && npm run test:ci",
"commit": "./node_modules/cz-customizable/standalone.js",
"deploy": "gh-pages -d build",
"gh-pages": "CI=true npm run build && gh-pages -d build",
"lint": "eslint --ext .js,.jsx src/",
"commitlint-travis": "commitlint-travis",
"predeploy": "npm run build",
"release": "standard-version",
"start": "HTTPS=true npm run preview",
Expand Down

0 comments on commit 99566f3

Please sign in to comment.