Skip to content

Commit

Permalink
Merge pull request #54 from kimyvgy/ci
Browse files Browse the repository at this point in the history
chore(ci): Add workflow `ci.yml`
  • Loading branch information
kimyvgy committed Dec 14, 2023
2 parents 9105b01 + e384c09 commit b463837
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI tests

on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
ci-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ⎔ Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: ⎔ Cache node_modules
uses: actions/cache@v3
env:
cache-name: node_modules-20x
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}
- name: 📥 Download deps
run: yarn install --frozen-lockfile
- name: ⎔ Build package
run: yarn build

0 comments on commit b463837

Please sign in to comment.