Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
workflow_call:
env:
EM_VERSION: 4.0.8
EM_VERSION: 5.0.2
EM_CACHE_FOLDER: 'emsdk-cache'
jobs:
build:
Expand All @@ -17,17 +17,17 @@ jobs:
name: Build Package
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: true
- name: Cache Emscripten system libraries
id: cache-system-libraries
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ${{ env.EM_CACHE_FOLDER }}
key: ${{ env.EM_VERSION }}-${{ runner.os }}
- name: Cache node modules
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.npm
key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
Expand All @@ -51,7 +51,7 @@ jobs:
echo ${{ github.event.number }} > coverage/pr/pr_num
cp coverage/lcov.info coverage/pr
- name: Upload coverage
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
if: ${{ github.event_name == 'pull_request' }}
with:
name: coverage-artifact
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Pack
run: npm pack
- name: Upload package
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
path: libxml2-wasm-*.tgz
compatibility_backend:
Expand All @@ -73,15 +73,15 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v4 # Run test only, don't need C source
uses: actions/checkout@v6 # Run test only, don't need C source
- name: Install nodeJs
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
- name: Install npm packages
run: npm ci
- name: Download libxml2-wasm
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: artifact
- name: Install libxml2-wasm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Find variables
id: vars
# if on master branch push, use "dev", otherwise major.minor
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Build the document
run: npm run doc -- --gitRevision $GITHUB_REF_NAME
- name: Checkout the site
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
path: site
ref: gh-pages
Expand All @@ -35,7 +35,7 @@ jobs:
rm -rf site/${{ steps.vars.outputs.version }}
mv _site site/${{ steps.vars.outputs.version }}
- name: Commit to site branch
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v7
with:
repository: site
branch: gh-pages
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: verify version
run: test $(jq -r .version package.json) = ${{ inputs.version }}
build:
Expand All @@ -25,8 +25,8 @@ jobs:
contents: read # Use personal access token to create release, default token can be read only
id-token: write # for OIDC when publishing to npm
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
- uses: actions/checkout@v6
- uses: actions/download-artifact@v8
- name: create release
uses: ncipollo/release-action@v1
with:
Expand Down
Loading
Loading