Skip to content

Commit

Permalink
Migrate to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
anmiles committed Jan 30, 2024
1 parent 4ba3ce1 commit 517bf61
Show file tree
Hide file tree
Showing 5 changed files with 302 additions and 320 deletions.
94 changes: 94 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: CI

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
install:
runs-on: ubuntu-latest
container:
image: node:18.14
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: node_modules
key: "node_modules-${{ hashFiles('package-lock.json') }}"
lookup-only: true
- run: npm ci

build:
needs: install
runs-on: ubuntu-latest
container:
image: node:18.14
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: node_modules
key: "node_modules-${{ hashFiles('package-lock.json') }}"
- run: npm run build:ci

lint:
needs: build
runs-on: ubuntu-latest
container:
image: node:18.14
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: node_modules
key: "node_modules-${{ hashFiles('package-lock.json') }}"
- run: npm run lint

test:
needs: build
runs-on: ubuntu-latest
container:
image: node:18.14
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: node_modules
key: "node_modules-${{ hashFiles('package-lock.json') }}"
- uses: actions/cache@v4
with:
path: coverage
key: "coverage-${{ hashFiles('package-lock.json') }}"
lookup-only: true
- run: npm run test:ci

coverage:
needs:
- lint
- test
runs-on: ubuntu-latest
container:
image: node:18.14
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: node_modules
key: "node_modules-${{ hashFiles('package-lock.json') }}"
- uses: actions/cache@v4
with:
path: coverage
key: "coverage-${{ hashFiles('package-lock.json') }}"
- run: npm run test:report:coverage
117 changes: 0 additions & 117 deletions .gitlab-ci.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [9.0.2](../../tags/v9.0.2) - 2024-01-30
### Changed
- Migrate to GitHub

## [9.0.1](../../tags/v9.0.1) - 2024-01-29
### Changed
- Explicitly specify ignores from .gitignore in .eslintrc.js
Expand Down
Loading

0 comments on commit 517bf61

Please sign in to comment.