Skip to content

Commit

Permalink
Update to yarn berry
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Jul 16, 2024
1 parent 7d6da2b commit fbf1ecf
Show file tree
Hide file tree
Showing 6 changed files with 8,129 additions and 5,036 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Node.js CI
on:
push:
branches: ['master']
pull_request:
branches: ['master']
branches: [ "master" ]
push:
branches: [ "master" ]

jobs:

Expand All @@ -19,11 +19,11 @@ jobs:
with:
node-version: 22.x

- name: Install production dependencies, check node engine compatibility
run: yarn install --production=true
- name: Enable Corepack
run: corepack enable

- name: Install development dependencies
run: yarn install --production=false --ignore-engines
- name: Yarn install
run: yarn install

- name: Build & Code analysis
run: yarn run lint
Expand All @@ -48,6 +48,9 @@ jobs:

needs: build

env:
YARN_IGNORE_NODE: 1

strategy:
matrix:
node-version: [16.x, 18.x, 20.x, 22.x]
Expand All @@ -62,8 +65,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Enable Corepack
run: corepack enable

- name: Install dependencies
run: yarn install --ignore-engines
run: yarn install

- name: Download build
uses: actions/download-artifact@v4
Expand Down
17 changes: 14 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Project
node_modules/
.idea/
*.iml
src/
test/**/*.js
test/**/*.js.map
test/**/*.d.ts
Expand All @@ -15,3 +13,16 @@ test/_test-issues.ts
coverage/
.nyc_output/
test/samples/zeroes.flac

#IntelliJ IDEA:
.idea
*.iml

# Yarn:
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
Loading

0 comments on commit fbf1ecf

Please sign in to comment.