Skip to content

Commit

Permalink
ci: use node and pnpm in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 30, 2022
1 parent b636132 commit 24a6e47
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: CI
on:
- push
- pull_request
pull_request:
push:
branches:
- master

defaults:
run:
Expand All @@ -21,15 +23,20 @@ jobs:
# - windows-latest
atom_channel: [stable, beta]
steps:
- uses: actions/checkout@v3
- uses: UziTech/action-setup-atom@v1
- name: Install Node
uses: actions/setup-node@v3
with:
channel: ${{ matrix.atom_channel }}
- name: Versions
run: apm -v
- name: Install APM dependencies
node-version: 12
architecture: x64

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 6

- name: Install and build
run: |
apm install
pnpm install
Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
Expand Down

0 comments on commit 24a6e47

Please sign in to comment.