Skip to content

Commit

Permalink
Update all dependencies as of 2023-02-09 (#36)
Browse files Browse the repository at this point in the history
1. Bumped all dependencies in `package.json` to their latest version.
2. Bumped repo node version to 16.19.0, via `.nvmrc`.
3. Bumped all Github Action versions to their latest, via `.github/workflows/nexe-ci.yml`.
4. Updated Github Actions to use newer `$GITHUB_OUTPUT` instead of deprecated `::set-output`, via `.github/workflows/nexe-ci.yml`.
  • Loading branch information
code-ape authored Feb 9, 2023
1 parent 18b323c commit bb825cd
Show file tree
Hide file tree
Showing 4 changed files with 218 additions and 165 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/nexe-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
#node_version: ['12.21.0', '12.22.6', '14.16.0', '14.18.0', '14.18.1', '16.11.0', '16.13.0']
node_version: ['14.16.0', '14.18.0', '14.18.1', '16.11.0', '16.13.0', '16.13.1']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js from .nvmrc
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Declare caches for build
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.ccache/
Expand Down Expand Up @@ -58,18 +57,18 @@ jobs:
echo "release_file=$release_file"
echo "release_name=$release_name"
echo "build_occurred=$build_occurred"
echo "::set-output name=release_id::$release_id"
echo "::set-output name=release_file::$release_file"
echo "::set-output name=release_name::$release_name"
echo "::set-output name=build_occurred::$build_occurred"
echo "release_id=$release_id" >> $GITHUB_OUTPUT
echo "release_file=$release_file" >> $GITHUB_OUTPUT
echo "release_name=$release_name" >> $GITHUB_OUTPUT
echo "build_occurred=$build_occurred" >> $GITHUB_OUTPUT
env:
NODE_VERSION: ${{ matrix.node_version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CREATE_RELEASE: "${{ github.ref == 'refs/heads/main' && 'true' || 'false' }}"

# Upload artifact & asset
- name: Upload build artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: steps.run_cd.outputs.build_occurred == 'true'
with:
name: ${{ steps.run_cd.outputs.release_name }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.0
16.19.0
Loading

0 comments on commit bb825cd

Please sign in to comment.