diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f21b22..316f238 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,13 @@ jobs: firefox: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x - - uses: jetli/wasm-pack-action@v0.4.0 + node-version: 20.x + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: npm install run: | npm install @@ -25,7 +26,7 @@ jobs: mv dist/ firefox/ npm run clean - name: artifact firefox - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: firefox path: firefox/**/* @@ -33,12 +34,13 @@ jobs: firefox-dev: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x - - uses: jetli/wasm-pack-action@v0.4.0 + node-version: 20.x + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: npm install run: | npm install @@ -48,7 +50,7 @@ jobs: mv dist/ firefox-dev/ npm run clean - name: artifact firefox-dev - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: firefox-dev path: firefox-dev/**/* @@ -56,12 +58,13 @@ jobs: chrome: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x - - uses: jetli/wasm-pack-action@v0.4.0 + node-version: 20.x + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: npm install run: | npm install @@ -71,7 +74,7 @@ jobs: mv dist/ chrome/ npm run clean - name: artifact chrome - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: chrome path: chrome/**/* @@ -79,12 +82,13 @@ jobs: chrome-dev: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x - - uses: jetli/wasm-pack-action@v0.4.0 + node-version: 20.x + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: npm install run: | npm install @@ -94,7 +98,7 @@ jobs: mv dist/ chrome-dev/ npm run clean - name: artifact chrome-dev - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: chrome-dev path: chrome-dev/**/* @@ -102,12 +106,13 @@ jobs: webext: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x - - uses: jetli/wasm-pack-action@v0.4.0 + node-version: 20.x + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: npm install run: | npm install @@ -117,7 +122,7 @@ jobs: mv dist/ webext/ npm run clean - name: artifact webext - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: webext path: webext/**/* @@ -125,12 +130,13 @@ jobs: webext-dev: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16.x - - uses: jetli/wasm-pack-action@v0.4.0 + node-version: 20.x + - name: Install wasm-pack + run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: npm install run: | npm install @@ -140,7 +146,7 @@ jobs: mv dist/ webext-dev/ npm run clean - name: artifact webext-dev - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: webext-dev path: webext-dev/**/*